]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkscalebutton.c
Use gtk_box_new() instead gtk_[v|h]box_new()
[~andy/gtk] / gtk / gtkscalebutton.c
index 243873b4c40f15986b6334dea0a669fb5bdda92f..924f657e106cdfed9ca5545c2524de0d0e5953e7 100644 (file)
@@ -390,7 +390,7 @@ gtk_scale_button_init (GtkScaleButton *button)
   gtk_container_add (GTK_CONTAINER (priv->dock), frame);
 
   /* box for scale and +/- buttons */
-  priv->box = gtk_vbox_new (FALSE, 0);
+  priv->box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
   gtk_container_add (GTK_CONTAINER (frame), priv->box);
 
   /* + */