diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:00:32 +0200 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-10-30 17:37:03 +0900 |
commit | c15ef6405c74fedcca53002de8135ae92c4d15e0 (patch) | |
tree | 54a831c12b97cbaa07cd45fc006d616368a8e496 /tests/testtreecolumns.c | |
parent | ae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff) | |
download | gtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/testtreecolumns.c')
-rw-r--r-- | tests/testtreecolumns.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c index da2363c8d7..a0f6841b7a 100644 --- a/tests/testtreecolumns.c +++ b/tests/testtreecolumns.c @@ -812,11 +812,11 @@ main (int argc, char *argv[]) window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL); gtk_window_set_default_size (GTK_WINDOW (window), 500, 300); - 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_container_add (GTK_CONTAINER (window), vbox); - hbox = gtk_hbox_new (FALSE, 8); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 8); gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0); /* Left Pane */ @@ -837,7 +837,7 @@ main (int argc, char *argv[]) gtk_box_pack_start (GTK_BOX (hbox), swindow, TRUE, TRUE, 0); /* Middle Pane */ - vbox2 = gtk_vbox_new (FALSE, 8); + vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8); gtk_box_pack_start (GTK_BOX (hbox), vbox2, FALSE, FALSE, 0); bbox = gtk_button_box_new (GTK_ORIENTATION_VERTICAL); @@ -878,7 +878,7 @@ main (int argc, char *argv[]) /* Right Pane */ - vbox2 = gtk_vbox_new (FALSE, 8); + vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8); gtk_box_pack_start (GTK_BOX (hbox), vbox2, TRUE, TRUE, 0); swindow = gtk_scrolled_window_new (NULL, NULL); @@ -946,7 +946,7 @@ main (int argc, char *argv[]) gtk_box_pack_start (GTK_BOX (vbox), gtk_separator_new (GTK_ORIENTATION_HORIZONTAL), FALSE, FALSE, 0); - hbox = gtk_hbox_new (FALSE, 8); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 8); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); button = gtk_button_new_with_mnemonic ("_Add new Column"); g_signal_connect (button, "clicked", G_CALLBACK (add_clicked), left_tree_model); |