mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 13:47:59 +02:00
[quartz] Completely remove CAIRO_HAS_QUARTZ_IMAGE_SURFACE check
Instead of fixing the check in d36b02dc66, 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.
This commit is contained in:
parent
d36b02dc66
commit
b94b600b34
1 changed files with 0 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue