diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-26 11:18:29 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-26 11:20:36 +0200 |
commit | e19b213e84ab8b8ead5e0c700e5b906590e22aa1 (patch) | |
tree | 9749ef2559385e12d3b9808b7f74c3d14c592586 /src/cairo-surface-subsurface.c | |
parent | e65bf64c4a6e2c7ff673449b8459b3150e438e21 (diff) | |
download | cairo-e19b213e84ab8b8ead5e0c700e5b906590e22aa1.tar.gz |
subsurface: Make subsurfaces their own type
Do not try to hide being a subsurface.
This would cause confusion when users where calling surface-type
specific getters on subsurfaces.
FIXME: We still need public API to access a subsurface's target though.
Diffstat (limited to 'src/cairo-surface-subsurface.c')
-rw-r--r-- | src/cairo-surface-subsurface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-surface-subsurface.c b/src/cairo-surface-subsurface.c index 5611850c0..a2cdb7e6f 100644 --- a/src/cairo-surface-subsurface.c +++ b/src/cairo-surface-subsurface.c @@ -507,7 +507,6 @@ cairo_surface_create_for_rectangle (cairo_surface_t *target, &_cairo_surface_subsurface_backend, NULL, /* device */ target->content); - surface->base.type = target->type; /* XXX forced integer alignment */ surface->extents.x = ceil (x); |