]> Pileus Git - ~andy/gtk/blobdiff - tests/testorientable.c
Use gtk_box_new() instead gtk_[v|h]box_new()
[~andy/gtk] / tests / testorientable.c
index 38bb879f395b416cf20dfd4d15e6dd3da2e8d709..11e2ef59b5f3c8f14710d12b4de3e7c0ad13d8ef 100644 (file)
@@ -61,7 +61,7 @@ main (int argc, char **argv)
   gtk_table_set_col_spacings (GTK_TABLE (table), 12);
 
   /* GtkBox */
-  box = gtk_hbox_new (6, FALSE);
+  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6, FALSE);
   orientables = g_list_prepend (orientables, box);
   gtk_table_attach_defaults (GTK_TABLE (table), box, 0, 1, 1, 2);
   gtk_box_pack_start (GTK_BOX (box),