[cairo-commit] src/cairo-quartz-image-surface.c

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Wed Oct 15 09:47:47 PDT 2008


 src/cairo-quartz-image-surface.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d36b02dc662e623bee58a69c32b149a242cbf52b
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date:   Wed Oct 15 12:45:11 2008 -0400

    [quartz] Rebalance 'CAIRO_HAS_QUARTZ_IMAGE_SURFACE' #ifdef
    
    Fixes compilation by re-adding '#ifdef CAIRO_HAS_QUARTZ_IMAGE_SURFACE' which
    was, I assume, unintentionally removed by
    2cf4b3161c19b9b0349bd2aa94855fd0822968be.

diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c
index 8fabce0..1ac3c34 100644
--- a/src/cairo-quartz-image-surface.c
+++ b/src/cairo-quartz-image-surface.c
@@ -43,6 +43,8 @@
 #define SURFACE_ERROR_TYPE_MISMATCH (_cairo_surface_create_in_error(_cairo_error(CAIRO_STATUS_SURFACE_TYPE_MISMATCH)))
 #define SURFACE_ERROR_INVALID_FORMAT (_cairo_surface_create_in_error(_cairo_error(CAIRO_STATUS_INVALID_FORMAT)))
 
+#ifdef CAIRO_HAS_QUARTZ_IMAGE_SURFACE
+
 static void
 DataProviderReleaseCallback (void *info, const void *data, size_t size)
 {


More information about the cairo-commit mailing list