diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2008-10-15 13:41:03 -0400 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2008-10-15 13:41:03 -0400 |
commit | b94b600b34793cecd9a66d37dd34a6619738e2c2 (patch) | |
tree | fec5856fdcb6cd6c866bcd7f1635de69377e4ad0 | |
parent | d36b02dc662e623bee58a69c32b149a242cbf52b (diff) |
[quartz] Completely remove CAIRO_HAS_QUARTZ_IMAGE_SURFACE check
Instead of fixing the check in d36b02dc662e623bee58a69c32b149a242cbf52b, just
remove it. Conditionally compilation will keep cairo-quartz-image-surface.c
from being compiled in when it is not configured to be. Suggested by Behdad.
-rw-r--r-- | src/cairo-quartz-image-surface.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cairo-quartz-image-surface.c b/src/cairo-quartz-image-surface.c index 1ac3c34b..3eee2c11 100644 --- a/src/cairo-quartz-image-surface.c +++ b/src/cairo-quartz-image-surface.c @@ -43,8 +43,6 @@ #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) { @@ -286,5 +284,3 @@ cairo_quartz_image_surface_get_image (cairo_surface_t *asurface) return (cairo_surface_t*) surface->imageSurface; } - -#endif /* CAIRO_HAS_QUARTZ_IMAGE_SURFACE */ |