summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-private.h
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2014-10-03 09:56:24 +0200
committerBryce Harrington <bryce@osg.samsung.com>2014-10-03 11:38:48 -0700
commit03756e042a2916e6c5334e2a00ec503a38e172d4 (patch)
treeca99a3d0f06827f1167c80264d6f24fb8610d4fe /src/cairo-quartz-private.h
parent531da6fb915a6e9ea33216a90196ae962876acf4 (diff)
downloadcairo-03756e042a2916e6c5334e2a00ec503a38e172d4.tar.gz
quartz-image: Fix build
The quartz-image backend uses _cairo_surface_is_quartz(), which therefore needs to be made available to it. Fixed as suggested by Bryce in the referenced bugreport. References: https://bugs.freedesktop.org/show_bug.cgi?id=84569 Signed-off-by: Andrea Canciani <ranma42@gmail.com>
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r--src/cairo-quartz-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h
index f841a49ec..3ef14c3ae 100644
--- a/src/cairo-quartz-private.h
+++ b/src/cairo-quartz-private.h
@@ -83,6 +83,9 @@ typedef struct cairo_quartz_image_surface {
cairo_private cairo_bool_t
_cairo_quartz_verify_surface_size(int width, int height);
+cairo_private cairo_bool_t
+_cairo_surface_is_quartz (const cairo_surface_t *surface);
+
cairo_private CGImageRef
CairoQuartzCreateCGImage (cairo_format_t format,
unsigned int width,