diff options
author | Benjamin Otte <otte@redhat.com> | 2020-02-14 20:55:36 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-02-14 21:18:49 +0100 |
commit | a278edab2271c3963ef5f323778300e996702ed3 (patch) | |
tree | 397b1829e3d4581900a58a7fd7216930824bcae4 /tests/testexpand.c | |
parent | c2bd4bc3cbc298c7cb4e4566e0622c7c201a95b0 (diff) | |
download | gtk+-a278edab2271c3963ef5f323778300e996702ed3.tar.gz |
window: Remove type argument from gtk_window_new()
Diffstat (limited to 'tests/testexpand.c')
-rw-r--r-- | tests/testexpand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testexpand.c b/tests/testexpand.c index 2339e19db8..de69040484 100644 --- a/tests/testexpand.c +++ b/tests/testexpand.c @@ -46,7 +46,7 @@ create_box_window (void) GtkWidget *toggle; GtkWidget *colorbox; - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); gtk_window_set_title (GTK_WINDOW (window), "Boxes"); box1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); @@ -107,7 +107,7 @@ create_grid_window (void) GtkWidget *toggle; GtkWidget *colorbox; - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); gtk_window_set_title (GTK_WINDOW (window), "Grid"); grid = gtk_grid_new (); |