summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-image-surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-quartz-image-surface.c')
-rw-r--r--src/cairo-quartz-image-surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c
index bc0d7addd..49f593655 100644
--- a/src/cairo-quartz-image-surface.c
+++ b/src/cairo-quartz-image-surface.c
@@ -139,7 +139,7 @@ _cairo_quartz_image_surface_flush (void *asurface)
CGImageRef newImage = NULL;
/* To be released by the ReleaseCallback */
- cairo_surface_reference ((cairo_surface_t*) surface->imageSurface);
+ _cairo_surface_reference ((cairo_surface_t*) surface->imageSurface);
newImage = _cairo_quartz_create_cgimage (surface->imageSurface->format,
surface->imageSurface->width,
@@ -248,7 +248,7 @@ cairo_quartz_image_surface_create (cairo_surface_t *surface)
* be released via the callback (which will be called in
* case of failure.)
*/
- cairo_surface_reference (surface);
+ _cairo_surface_reference (surface);
image = _cairo_quartz_create_cgimage (format,
width, height,