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/testtoolbar.c | |
parent | ae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff) | |
download | gtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/testtoolbar.c')
-rw-r--r-- | tests/testtoolbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c index 888a52fb73..cd55b032bd 100644 --- a/tests/testtoolbar.c +++ b/tests/testtoolbar.c @@ -530,12 +530,12 @@ main (gint argc, gchar **argv) gtk_table_attach (GTK_TABLE (table), toolbar, 0,2, 0,1, GTK_FILL|GTK_EXPAND, GTK_FILL, 0, 0); - hbox1 = gtk_hbox_new (FALSE, 3); + hbox1 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 3); gtk_container_set_border_width (GTK_CONTAINER (hbox1), 5); gtk_table_attach (GTK_TABLE (table), hbox1, 1,2, 1,2, GTK_FILL|GTK_EXPAND, GTK_FILL, 0, 0); - hbox2 = gtk_hbox_new (FALSE, 2); + hbox2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 2); gtk_container_set_border_width (GTK_CONTAINER (hbox2), 5); gtk_table_attach (GTK_TABLE (table), hbox2, 1,2, 2,3, GTK_FILL|GTK_EXPAND, GTK_FILL, 0, 0); @@ -706,7 +706,7 @@ main (gint argc, gchar **argv) add_item_to_list (store, item, "Terminal"); gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1); - hbox = gtk_hbox_new (FALSE, 5); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 5); gtk_container_set_border_width (GTK_CONTAINER (hbox), 5); gtk_table_attach (GTK_TABLE (table), hbox, 1,2, 4,5, GTK_FILL|GTK_EXPAND, GTK_FILL, 0, 0); |