Fix the scrolledwindow test

These tests were written for the propagate-nat-size semantics,
so opt in to it.
This commit is contained in:
Matthias Clasen 2016-08-31 15:04:57 -04:00
parent 0984d1622d
commit 4a035403d3

View File

@ -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);