diff options
Diffstat (limited to 'tests/testinput.c')
-rw-r--r-- | tests/testinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testinput.c b/tests/testinput.c index 69b1230159..083590ec8d 100644 --- a/tests/testinput.c +++ b/tests/testinput.c @@ -49,7 +49,7 @@ size_allocate (GtkWidget *widget, { cairo_t *cr; - surface = gdk_window_create_similar_surface (gtk_widget_get_window (widget), + surface = gdk_surface_create_similar_surface (gtk_widget_get_window (widget), CAIRO_CONTENT_COLOR, gtk_widget_get_width (widget), gtk_widget_get_height (widget)); |