diff options
Diffstat (limited to 'demos/gtk-demo/textscroll.c')
-rw-r--r-- | demos/gtk-demo/textscroll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/gtk-demo/textscroll.c b/demos/gtk-demo/textscroll.c index 244a7f33e1..b9fca9e936 100644 --- a/demos/gtk-demo/textscroll.c +++ b/demos/gtk-demo/textscroll.c @@ -184,7 +184,8 @@ do_textscroll (GtkWidget *do_widget) G_CALLBACK (gtk_widget_destroyed), &window); gtk_window_set_default_size (GTK_WINDOW (window), 600, 400); - hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, TRUE, 6); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + gtk_box_set_homogeneous (GTK_BOX (hbox), TRUE); gtk_container_add (GTK_CONTAINER (window), hbox); create_text_view (hbox, TRUE); |