diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-08-31 15:04:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-08-31 15:04:57 -0400 |
commit | 4a035403d3ba83c8efc35b5216ff64f6cc7ebfcb (patch) | |
tree | 0cd4c0c8cf48d5248d85a0e8c424a69ae655dc23 /testsuite | |
parent | 0984d1622d022bf67207f985f7842b6299818e20 (diff) | |
download | gtk+-4a035403d3ba83c8efc35b5216ff64f6cc7ebfcb.tar.gz |
Fix the scrolledwindow test
These tests were written for the propagate-nat-size semantics,
so opt in to it.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gtk/scrolledwindow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/gtk/scrolledwindow.c b/testsuite/gtk/scrolledwindow.c index 317f913135..b62b32393d 100644 --- a/testsuite/gtk/scrolledwindow.c +++ b/testsuite/gtk/scrolledwindow.c @@ -22,6 +22,8 @@ test_size (GtkOrientation orientation, gtk_widget_set_vexpand (box, TRUE); scrolledwindow = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_propagate_natural_width (GTK_SCROLLED_WINDOW (scrolledwindow), TRUE); + gtk_scrolled_window_set_propagate_natural_height (GTK_SCROLLED_WINDOW (scrolledwindow), TRUE); gtk_container_add (GTK_CONTAINER (scrolledwindow), box); gtk_widget_show_all (scrolledwindow); |