diff options
author | Oleg Romashin <romaxa@gmail.com> | 2012-02-12 01:34:34 -0500 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-12 09:57:00 +0000 |
commit | 4f81940749b680c6e48d393fd13108775efa38eb (patch) | |
tree | 5ea6d11ae3ad1f88f47826332dfeaee1cb70c7cb /boilerplate | |
parent | 76df401263a45881fec557396dd4895d0af540a3 (diff) |
qt: Fix compilation, also minor fix for building against Qt5
Update to latest surface backend structure, removed obsolete functions
and fixed functions API in order to be compatible with backend definition.
Fixed compilation with Qt5
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate-qt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-qt.cpp b/boilerplate/cairo-boilerplate-qt.cpp index a559f4fe7..31c081483 100644 --- a/boilerplate/cairo-boilerplate-qt.cpp +++ b/boilerplate/cairo-boilerplate-qt.cpp @@ -93,7 +93,7 @@ static const cairo_boilerplate_target_t targets[] = { CAIRO_SURFACE_TYPE_QT, CAIRO_CONTENT_COLOR_ALPHA, 0, "cairo_qt_surface_create", _cairo_boilerplate_qt_create_surface, - NULL, NULL, + NULL, NULL, NULL, _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_qt_cleanup @@ -103,7 +103,7 @@ static const cairo_boilerplate_target_t targets[] = { CAIRO_SURFACE_TYPE_QT, CAIRO_CONTENT_COLOR, 0, "cairo_qt_surface_create", _cairo_boilerplate_qt_create_surface, - NULL, NULL, + NULL, NULL, NULL, _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_qt_cleanup |