summaryrefslogtreecommitdiff
path: root/src/cairo-image-surface-private.h
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2012-04-10 20:15:04 +0200
committerAndrea Canciani <ranma42@gmail.com>2012-05-26 16:06:26 +0200
commitdf7829e2cca07c3bfcddda1c66ca56280edceaf4 (patch)
tree330afa79504476f5f45e37e6c6d5d7b6b29d4a92 /src/cairo-image-surface-private.h
parent10c0a1c68c34677273d2f48c5d5a6c1c15a320c0 (diff)
downloadcairo-df7829e2cca07c3bfcddda1c66ca56280edceaf4.tar.gz
surface: Make map_to_image return cairo_image_surface_t*
This makes it easier to check that the funciton is returning the correct type of surfaces.
Diffstat (limited to 'src/cairo-image-surface-private.h')
-rw-r--r--src/cairo-image-surface-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-image-surface-private.h b/src/cairo-image-surface-private.h
index 6f5f05bf7..8f7364cb2 100644
--- a/src/cairo-image-surface-private.h
+++ b/src/cairo-image-surface-private.h
@@ -151,7 +151,7 @@ _cairo_image_surface_init (cairo_image_surface_t *surface,
pixman_image_t *pixman_image,
pixman_format_code_t pixman_format);
-cairo_private cairo_surface_t *
+cairo_private cairo_image_surface_t *
_cairo_image_surface_map_to_image (void *abstract_other,
const cairo_rectangle_int_t *extents);