From 386b63b85d803b593142ccb074524693d047a66a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 24 Jun 2020 11:25:09 -0400 Subject: scrolledwindow: Don't take adjustments in new() In 99.9% of all cases, these are just NULL, NULL. So just do away with these arguments, people can use the setters for the rare cases where they want the scrolled window to use a different adjustment. --- tests/treestoretest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/treestoretest.c') diff --git a/tests/treestoretest.c b/tests/treestoretest.c index efb2444cee..afe871414e 100644 --- a/tests/treestoretest.c +++ b/tests/treestoretest.c @@ -318,7 +318,7 @@ make_window (gint view_type) vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); gtk_window_set_default_size (GTK_WINDOW (window), 300, 350); - scrolled_window = gtk_scrolled_window_new (NULL, NULL); + scrolled_window = gtk_scrolled_window_new (); switch (view_type) { case 0: -- cgit v1.2.1