summaryrefslogtreecommitdiff
path: root/tests/testtreeedit.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-02-14 20:55:36 +0100
committerBenjamin Otte <otte@redhat.com>2020-02-14 21:18:49 +0100
commita278edab2271c3963ef5f323778300e996702ed3 (patch)
tree397b1829e3d4581900a58a7fd7216930824bcae4 /tests/testtreeedit.c
parentc2bd4bc3cbc298c7cb4e4566e0622c7c201a95b0 (diff)
downloadgtk+-a278edab2271c3963ef5f323778300e996702ed3.tar.gz
window: Remove type argument from gtk_window_new()
Diffstat (limited to 'tests/testtreeedit.c')
-rw-r--r--tests/testtreeedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreeedit.c b/tests/testtreeedit.c
index 825bb9fef9..374e16e48a 100644
--- a/tests/testtreeedit.c
+++ b/tests/testtreeedit.c
@@ -245,7 +245,7 @@ main (gint argc, gchar **argv)
if (g_getenv ("RTL"))
gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ window = gtk_window_new ();
gtk_window_set_title (GTK_WINDOW (window), "GtkTreeView editing sample");
g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done);