diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-05-09 11:35:08 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-05-09 15:54:10 +0200 |
commit | 901c56cba28f9eef3a7a27a25dfbb993b492518b (patch) | |
tree | de23a331f622ced32ad077a32f2323dd2fcd72cc /src/cairo-image-surface.c | |
parent | 5744b0b9a563e5cf329cc0ba31f96ff238d86210 (diff) |
[image surface] Rename cairo_image_surface_backend to _cairo_image_surface_backend
Diffstat (limited to 'src/cairo-image-surface.c')
-rw-r--r-- | src/cairo-image-surface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c index 41e6bbd8..cd80aedd 100644 --- a/src/cairo-image-surface.c +++ b/src/cairo-image-surface.c @@ -124,7 +124,7 @@ _cairo_image_surface_create_for_pixman_image (pixman_image_t *pixman_image, if (surface == NULL) return _cairo_surface_create_in_error (_cairo_error (CAIRO_STATUS_NO_MEMORY)); - _cairo_surface_init (&surface->base, &cairo_image_surface_backend, + _cairo_surface_init (&surface->base, &_cairo_image_surface_backend, _cairo_content_from_pixman_format (pixman_format)); surface->pixman_image = pixman_image; @@ -1247,10 +1247,10 @@ _cairo_image_surface_reset (void *abstract_surface) cairo_bool_t _cairo_surface_is_image (const cairo_surface_t *surface) { - return surface->backend == &cairo_image_surface_backend; + return surface->backend == &_cairo_image_surface_backend; } -const cairo_surface_backend_t cairo_image_surface_backend = { +const cairo_surface_backend_t _cairo_image_surface_backend = { CAIRO_SURFACE_TYPE_IMAGE, _cairo_image_surface_create_similar, _cairo_image_surface_finish, |