[cairo-commit] cairo/src cairoint.h, 1.212, 1.213 cairo-image-surface.c, 1.61, 1.62

Keith Packard commit at pdx.freedesktop.org
Sun Oct 9 20:31:47 PDT 2005


Committed by: keithp

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv15718/src

Modified Files:
	cairoint.h cairo-image-surface.c 
Log Message:
2005-10-09  Keith Packard  <keithp at keithp.com>

	* src/cairo-image-surface.c: (_cairo_surface_is_image):
	* src/cairoint.h:
	Add const to _cairo_surface_is_image parameter


Index: cairoint.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairoint.h,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- cairoint.h	9 Oct 2005 16:18:16 -0000	1.212
+++ cairoint.h	10 Oct 2005 03:31:45 -0000	1.213
@@ -1716,7 +1716,7 @@
 				      pixman_region16_t *region);
 
 cairo_private cairo_bool_t
-_cairo_surface_is_image (cairo_surface_t *surface);
+_cairo_surface_is_image (const cairo_surface_t *surface);
 
 /* cairo_pen.c */
 cairo_private cairo_status_t

Index: cairo-image-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-image-surface.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- cairo-image-surface.c	9 Oct 2005 16:18:16 -0000	1.61
+++ cairo-image-surface.c	10 Oct 2005 03:31:45 -0000	1.62
@@ -853,7 +853,7 @@
  * Return value: TRUE if the surface is an image surface
  **/
 cairo_bool_t
-_cairo_surface_is_image (cairo_surface_t *surface)
+_cairo_surface_is_image (const cairo_surface_t *surface)
 {
     return surface->backend == &cairo_image_surface_backend;
 }



More information about the cairo-commit mailing list