summaryrefslogtreecommitdiff
path: root/test/svg-clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/svg-clip.c')
-rw-r--r--test/svg-clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/svg-clip.c b/test/svg-clip.c
index 81af1040..338f28f1 100644
--- a/test/svg-clip.c
+++ b/test/svg-clip.c
@@ -76,7 +76,7 @@ test_clip (cairo_t *cr, double width, double height)
/* Create a new context for this surface to test overlapped
* drawing from two contexts */
- cr2 = cairo_create (cairo_get_target (cr));
+ cr2 = cairo_create (cairo_get_group_target (cr));
/* Using the new context, draw a black vertical line, which should
* appear unclipped on top of everything drawn so far. */