]> Pileus Git - ~andy/gtk/blobdiff - tests/testorientable.c
Use gtk_separator_new() instead gtk_[v|h]separator_new()
[~andy/gtk] / tests / testorientable.c
index 024816f745e7cec48ce980f1033ff361ff922a29..38bb879f395b416cf20dfd4d15e6dd3da2e8d709 100644 (file)
@@ -75,7 +75,7 @@ main (int argc, char **argv)
                   TRUE, TRUE, 0);
 
   /* GtkButtonBox */
-  box = gtk_hbutton_box_new ();
+  box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
   orientables = g_list_prepend (orientables, box);
   gtk_table_attach_defaults (GTK_TABLE (table), box, 1, 2, 1, 2);
   gtk_box_pack_start (GTK_BOX (box),
@@ -89,7 +89,7 @@ main (int argc, char **argv)
                   TRUE, TRUE, 0);
 
   /* GtkSeparator */
-  box = gtk_hseparator_new ();
+  box = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
   orientables = g_list_prepend (orientables, box);
   gtk_table_attach_defaults (GTK_TABLE (table), box, 2, 3, 1, 2);