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 /gtk/tools | |
parent | c2bd4bc3cbc298c7cb4e4566e0622c7c201a95b0 (diff) | |
download | gtk+-a278edab2271c3963ef5f323778300e996702ed3.tar.gz |
window: Remove type argument from gtk_window_new()
Diffstat (limited to 'gtk/tools')
-rw-r--r-- | gtk/tools/gtk-builder-tool-preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/tools/gtk-builder-tool-preview.c b/gtk/tools/gtk-builder-tool-preview.c index a5289744cb..c1f6157570 100644 --- a/gtk/tools/gtk-builder-tool-preview.c +++ b/gtk/tools/gtk-builder-tool-preview.c @@ -127,7 +127,7 @@ preview_file (const char *filename, { GtkWidget *widget = GTK_WIDGET (object); - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); if (GTK_IS_BUILDABLE (object)) id = gtk_buildable_get_name (GTK_BUILDABLE (object)); |