summaryrefslogtreecommitdiff
path: root/tests/testoffscreenwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testoffscreenwindow.c')
-rw-r--r--tests/testoffscreenwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testoffscreenwindow.c b/tests/testoffscreenwindow.c
index 7358188fc0..852a073c49 100644
--- a/tests/testoffscreenwindow.c
+++ b/tests/testoffscreenwindow.c
@@ -9,7 +9,7 @@ da_expose (GtkWidget *widget,
GdkPixmap *pixmap;
cairo_t *cr;
- if (GTK_WIDGET_DRAWABLE (widget))
+ if (gtk_widget_is_drawable (widget))
{
pixmap = gtk_offscreen_window_get_pixmap (offscreen);