diff options
-rw-r--r-- | src/cairo-image-surface.c | 6 | ||||
-rw-r--r-- | src/cairo-surface.c | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | src/cairoint.h | 2 |
3 files changed, 5 insertions, 5 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, diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 02307038..941e1737 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -43,7 +43,7 @@ #define DEFINE_NIL_SURFACE(status, name) \ const cairo_surface_t name = { \ - &cairo_image_surface_backend, /* backend */ \ + &_cairo_image_surface_backend, /* backend */ \ CAIRO_SURFACE_TYPE_IMAGE, \ CAIRO_CONTENT_COLOR, \ CAIRO_REFERENCE_COUNT_INVALID, /* ref_count */ \ diff --git a/src/cairoint.h b/src/cairoint.h index f843c890..5ec657df 100644..100755 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -739,7 +739,7 @@ struct _cairo_image_surface { pixman_image_t *pixman_image; }; -extern const cairo_private cairo_surface_backend_t cairo_image_surface_backend; +extern const cairo_private cairo_surface_backend_t _cairo_image_surface_backend; /* XXX: Right now, the _cairo_color structure puts unpremultiplied color in the doubles and premultiplied color in the shorts. Yes, |