diff options
author | Andrea Canciani <ranma42@gmail.com> | 2014-10-03 09:56:24 +0200 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-10-03 11:38:48 -0700 |
commit | 03756e042a2916e6c5334e2a00ec503a38e172d4 (patch) | |
tree | ca99a3d0f06827f1167c80264d6f24fb8610d4fe /src/cairo-quartz-surface.c | |
parent | 531da6fb915a6e9ea33216a90196ae962876acf4 (diff) | |
download | cairo-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-surface.c')
-rw-r--r-- | src/cairo-quartz-surface.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c index 667828bd5..1116ff94c 100644 --- a/src/cairo-quartz-surface.c +++ b/src/cairo-quartz-surface.c @@ -140,9 +140,6 @@ _cairo_quartz_surface_create_internal (CGContextRef cgContext, unsigned int width, unsigned int height); -static cairo_bool_t -_cairo_surface_is_quartz (const cairo_surface_t *surface); - /* Load all extra symbols */ static void quartz_ensure_symbols (void) { @@ -2473,7 +2470,7 @@ cairo_quartz_surface_get_cg_context (cairo_surface_t *surface) * * Return value: True if the surface is an quartz surface **/ -static cairo_bool_t +cairo_bool_t _cairo_surface_is_quartz (const cairo_surface_t *surface) { return surface->backend == &cairo_quartz_surface_backend; |