Commit 896e249e authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

Added a default size of a magic number to testwrapbox.c

This was added to the test only for the sake of making it
easier to reproduce a bug with scrolled windows (bug 629778).

Expected behaviour: The vertical scrollbar should dissapear as soon
as the required height for the full allocation width (without any
vertical scrollbar) is small enough to not need a scrollbar.
parent 560ca1ea
......@@ -442,6 +442,12 @@ create_window (void)
populate_items (GTK_WRAP_BOX (wrapbox));
/* This line was added only for the convenience of reproducing
* a height-for-width inside GtkScrolledWindow bug (bug 629778).
* -Tristan
gtk_window_set_default_size (GTK_WINDOW (window), 390, -1);
return window;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment