summaryrefslogtreecommitdiff
path: root/tests/testassistant.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 05:00:32 +0200
committerJavier Jardón <jjardon@gnome.org>2010-10-30 05:22:58 +0200
commita9894d4cf48e04dcb89043b425be07870ad7c496 (patch)
treee375b4a784feea7eb7815ecb2c69443e8eaef55a /tests/testassistant.c
parentb2207f6730137f5167b39d6c686a905ba2f532ab (diff)
downloadgtk+-a9894d4cf48e04dcb89043b425be07870ad7c496.tar.gz
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/testassistant.c')
-rw-r--r--tests/testassistant.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testassistant.c b/tests/testassistant.c
index b618796a8a..e936d02877 100644
--- a/tests/testassistant.c
+++ b/tests/testassistant.c
@@ -60,7 +60,7 @@ add_completion_test_page (GtkWidget *assistant,
GtkWidget *check;
PageData *pdata;
- page = gtk_vbox_new (0, FALSE);
+ page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0, FALSE);
check = gtk_check_button_new_with_label ("Complete");
gtk_container_add (GTK_CONTAINER (page), gtk_label_new (text));
@@ -337,7 +337,7 @@ create_nonlinear_assistant (GtkWidget *widget)
nonlinear_assistant_forward_page,
NULL, NULL);
- page = gtk_vbox_new (FALSE, 6);
+ page = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 6);
button = gtk_radio_button_new_with_label (NULL, "branch A");
gtk_box_pack_start (GTK_BOX (page), button, FALSE, FALSE, 0);
@@ -574,7 +574,7 @@ main (int argc, gchar *argv[])
g_signal_connect (G_OBJECT (window), "delete-event",
G_CALLBACK (gtk_false), NULL);
- box = gtk_vbox_new (FALSE, 6);
+ box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 6);
gtk_container_add (GTK_CONTAINER (window), box);
for (i = 0; i < G_N_ELEMENTS (buttons); i++)