summaryrefslogtreecommitdiff
path: root/testsuite/gtk/templates.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gtk/templates.c')
-rw-r--r--testsuite/gtk/templates.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/gtk/templates.c b/testsuite/gtk/templates.c
index 712bf3e6aa..4b73e94c12 100644
--- a/testsuite/gtk/templates.c
+++ b/testsuite/gtk/templates.c
@@ -48,10 +48,10 @@ test_dialog_override_property (void)
GtkWidget *dialog;
dialog = g_object_new (GTK_TYPE_DIALOG,
- "type-hint", GDK_WINDOW_TYPE_HINT_UTILITY,
+ "type-hint", GDK_SURFACE_TYPE_HINT_UTILITY,
NULL);
g_assert (GTK_IS_DIALOG (dialog));
- g_assert (gtk_window_get_type_hint (GTK_WINDOW (dialog)) == GDK_WINDOW_TYPE_HINT_UTILITY);
+ g_assert (gtk_window_get_type_hint (GTK_WINDOW (dialog)) == GDK_SURFACE_TYPE_HINT_UTILITY);
gtk_widget_destroy (dialog);
}