summaryrefslogtreecommitdiff
path: root/tests/testcairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcairo.c')
-rw-r--r--tests/testcairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testcairo.c b/tests/testcairo.c
index 06257cd9af..918ebff974 100644
--- a/tests/testcairo.c
+++ b/tests/testcairo.c
@@ -197,7 +197,7 @@ on_expose_event (GtkWidget *widget,
{
cairo_t *cr;
- cr = gdk_drawable_create_cairo_context (widget->window);
+ cr = gdk_cairo_create (widget->window);
draw (cr, widget->allocation.width, widget->allocation.height);