summaryrefslogtreecommitdiff
path: root/tests/testgiconpixbuf.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/testgiconpixbuf.c
parentc2bd4bc3cbc298c7cb4e4566e0622c7c201a95b0 (diff)
downloadgtk+-a278edab2271c3963ef5f323778300e996702ed3.tar.gz
window: Remove type argument from gtk_window_new()
Diffstat (limited to 'tests/testgiconpixbuf.c')
-rw-r--r--tests/testgiconpixbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgiconpixbuf.c b/tests/testgiconpixbuf.c
index bbd1e407d8..0a52da4b4d 100644
--- a/tests/testgiconpixbuf.c
+++ b/tests/testgiconpixbuf.c
@@ -48,7 +48,7 @@ main (int argc,
gtk_init ();
pixbuf = gdk_pixbuf_new_from_file ("apple-red.png", NULL);
- toplevel = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ toplevel = gtk_window_new ();
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_add (GTK_CONTAINER (toplevel), hbox);