summaryrefslogtreecommitdiff
path: root/tests/testdnd.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/testdnd.c
parentc2bd4bc3cbc298c7cb4e4566e0622c7c201a95b0 (diff)
downloadgtk+-a278edab2271c3963ef5f323778300e996702ed3.tar.gz
window: Remove type argument from gtk_window_new()
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r--tests/testdnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c
index 32a19de3c3..41a5109240 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -503,7 +503,7 @@ popup_cb (gpointer data)
int i, j;
GdkContentFormats *targets;
- popup_window = gtk_window_new (GTK_WINDOW_POPUP);
+ popup_window = gtk_window_new ();
grid = gtk_grid_new ();
targets = gdk_content_formats_new_for_gtype (G_TYPE_STRING);
@@ -615,7 +615,7 @@ main (int argc, char **argv)
gtk_init ();
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ window = gtk_window_new ();
g_signal_connect (window, "destroy",
G_CALLBACK (quit_cb), &done);