summaryrefslogtreecommitdiff
path: root/tests/testtreesort.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 05:00:32 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:03 +0900
commitc15ef6405c74fedcca53002de8135ae92c4d15e0 (patch)
tree54a831c12b97cbaa07cd45fc006d616368a8e496 /tests/testtreesort.c
parentae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff)
downloadgtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/testtreesort.c')
-rw-r--r--tests/testtreesort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtreesort.c b/tests/testtreesort.c
index a23b367ddd..0d90c55269 100644
--- a/tests/testtreesort.c
+++ b/tests/testtreesort.c
@@ -125,7 +125,7 @@ main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Words, words, words - Window 1");
g_signal_connect (window, "destroy", gtk_main_quit, NULL);
- vbox = gtk_vbox_new (FALSE, 8);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Jonathan and Kristian's list of cool words. (And Anders' cool list of numbers) \n\nThis is just a GtkTreeStore"), FALSE, FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), vbox);
@@ -255,7 +255,7 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (window2),
"Words, words, words - window 2");
g_signal_connect (window2, "destroy", gtk_main_quit, NULL);
- vbox2 = gtk_vbox_new (FALSE, 8);
+ vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8);
gtk_container_set_border_width (GTK_CONTAINER (vbox2), 8);
gtk_box_pack_start (GTK_BOX (vbox2),
gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeStore of window 1"),
@@ -327,7 +327,7 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (window3),
"Words, words, words - Window 3");
g_signal_connect (window3, "destroy", gtk_main_quit, NULL);
- vbox3 = gtk_vbox_new (FALSE, 8);
+ vbox3 = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8);
gtk_container_set_border_width (GTK_CONTAINER (vbox3), 8);
gtk_box_pack_start (GTK_BOX (vbox3),
gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeModelSort of window 2"),