summaryrefslogtreecommitdiff
path: root/src/cairo-ps-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-01 17:46:25 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-01 17:46:25 +0100
commite23d179e08367dc03c5c8f242bbc3af0749d4920 (patch)
tree5f52cb712a8faf1b3b9a2a8e4ba8c106a71ec414 /src/cairo-ps-surface.c
parent4b5d3436a36e7a2fe29131dff58b50999cd972bb (diff)
Erradicate internal use of cairo_surface_get_content()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-ps-surface.c')
-rw-r--r--src/cairo-ps-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 6912c024..8f8e34f5 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -2407,7 +2407,7 @@ _cairo_ps_surface_emit_image (cairo_ps_surface_t *surface,
cairo_surface_t *surf;
cairo_surface_pattern_t pattern;
- surf = _cairo_image_surface_create_with_content (cairo_surface_get_content (&image_surf->base),
+ surf = _cairo_image_surface_create_with_content (image_surf->base.content,
image_surf->width,
image_surf->height);
image = (cairo_image_surface_t *) surf;