From a278edab2271c3963ef5f323778300e996702ed3 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 14 Feb 2020 20:55:36 +0100 Subject: window: Remove type argument from gtk_window_new() --- tests/testheightforwidth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testheightforwidth.c') diff --git a/tests/testheightforwidth.c b/tests/testheightforwidth.c index 2ae275cf2d..6239831960 100644 --- a/tests/testheightforwidth.c +++ b/tests/testheightforwidth.c @@ -808,7 +808,7 @@ create_window (void) GtkWidget *window, *vbox, *button; gint i; - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window = gtk_window_new (); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); g_object_set (vbox, "margin", 8, NULL); -- cgit v1.2.1