]> Pileus Git - ~andy/gtk/blobdiff - tests/testorientable.c
Updated POTFILES.in
[~andy/gtk] / tests / testorientable.c
index e906708c3321e2537b64aa5e323a8d9ff2a48277..b3fa0e2d56e1b9d25610e6d052a7263281e4076d 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);
   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),
@@ -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);