summaryrefslogtreecommitdiff
path: root/tests/testwidgetfocus.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testwidgetfocus.c')
-rw-r--r--tests/testwidgetfocus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testwidgetfocus.c b/tests/testwidgetfocus.c
index 3aed9e7376..5d33302bdc 100644
--- a/tests/testwidgetfocus.c
+++ b/tests/testwidgetfocus.c
@@ -238,7 +238,7 @@ gtk_focus_widget_finalize (GObject *object)
static void
gtk_focus_widget_init (GtkFocusWidget *self)
{
- gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE);
self->child1 = gtk_button_new_with_label ("1");
gtk_widget_set_parent (self->child1, GTK_WIDGET (self));