]> Pileus Git - ~andy/gtk/blobdiff - demos/gtk-demo/textscroll.c
gtk: remove "gboolean homogeneous" from gtk_box_new()
[~andy/gtk] / demos / gtk-demo / textscroll.c
index 244a7f33e1577581ff1faf282d8ff3c6369e15c4..b9fca9e936252db8c0afe265fced29832f628df7 100644 (file)
@@ -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);