summaryrefslogtreecommitdiff
path: root/src/cairo_image_surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo_image_surface.c')
-rw-r--r--src/cairo_image_surface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo_image_surface.c b/src/cairo_image_surface.c
index cbdc018a1..14e30f695 100644
--- a/src/cairo_image_surface.c
+++ b/src/cairo_image_surface.c
@@ -169,7 +169,7 @@ cairo_image_surface_create_for_data (char *data,
pixman_format = _create_pixman_format (format);
if (pixman_format == NULL)
return NULL;
-
+
pixman_image = pixman_image_create_for_data ((pixman_bits_t *) data, pixman_format,
width, height,
_cairo_format_bpp (format),
@@ -199,7 +199,7 @@ static void
_cairo_image_abstract_surface_destroy (void *abstract_surface)
{
cairo_image_surface_t *surface = abstract_surface;
-
+
if (surface->pixman_image)
pixman_image_destroy (surface->pixman_image);
@@ -490,7 +490,7 @@ _cairo_image_surface_set_clip_region (cairo_image_surface_t *surface,
return CAIRO_STATUS_SUCCESS;
}
-static cairo_status_t
+static cairo_int_status_t
_cairo_image_abstract_surface_create_pattern (void *abstract_surface,
cairo_pattern_t *pattern,
cairo_box_t *box)