mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 19:08:09 +02:00
Add const to _cairo_surface_is_image parameter
This commit is contained in:
parent
2a3593e35c
commit
a0e970fad2
3 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-10-09 Keith Packard <keithp@keithp.com>
|
||||
|
||||
* src/cairo-image-surface.c: (_cairo_surface_is_image):
|
||||
* src/cairoint.h:
|
||||
Add const to _cairo_surface_is_image parameter
|
||||
|
||||
2005-10-09 Billy Biggs <vektor@dumbterm.net>
|
||||
|
||||
* test/Makefile.am: Add a new test to start investigating bug 4183.
|
||||
|
|
|
|||
|
|
@ -853,7 +853,7 @@ _cairo_image_abstract_surface_get_extents (void *abstract_surface,
|
|||
* 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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1716,7 +1716,7 @@ _cairo_image_surface_set_clip_region (cairo_image_surface_t *surface,
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue