diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-26 12:54:25 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-26 12:55:39 +0200 |
commit | e79acf47a57b60c83d1f9491aac354161986b29b (patch) | |
tree | f0a83e3aafea9cba1127f1f0021c350544af4e63 /src/cairo-xlib-surface.c | |
parent | 40459dacb52587cc784faf2635e54797d3989408 (diff) |
subsurface: Make CAIRO_SURFACE_TYPE_SUBSURFACE public
Diffstat (limited to 'src/cairo-xlib-surface.c')
-rw-r--r-- | src/cairo-xlib-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index 350331d1e..c74f656bf 100644 --- a/src/cairo-xlib-surface.c +++ b/src/cairo-xlib-surface.c @@ -2342,7 +2342,7 @@ _cairo_xlib_surface_upload(cairo_xlib_surface_t *surface, extents.x = extents.y = 0; extents.width = image->width; extents.height = image->height; - } else if (image->base.backend->type == CAIRO_INTERNAL_SURFACE_TYPE_SUBSURFACE) { + } else if (image->base.backend->type == CAIRO_SURFACE_TYPE_SUBSURFACE) { cairo_surface_subsurface_t *sub = (cairo_surface_subsurface_t *) image; image = (cairo_image_surface_t *) sub->target; src_x += sub->extents.x; |