Make testwrapbox scrolled window scrollbars automatic.

Did this in the hope to reproduce infinite recursion bugs
with height-for-width in scrolled windows (see complex bgo #611740
for reference for now).
This commit is contained in:
Tristan Van Berkom 2010-09-13 20:32:13 +09:00
parent a79637f081
commit 96c3858b21

View File

@ -276,6 +276,9 @@ create_window (void)
gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
swindow = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_widget_show (swindow);
gtk_container_add (GTK_CONTAINER (frame), swindow);