summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-08-31 15:04:57 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-08-31 15:04:57 -0400
commit4a035403d3ba83c8efc35b5216ff64f6cc7ebfcb (patch)
tree0cd4c0c8cf48d5248d85a0e8c424a69ae655dc23 /testsuite
parent0984d1622d022bf67207f985f7842b6299818e20 (diff)
downloadgtk+-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.c2
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);