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/testscale.c | |
parent | ae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff) | |
download | gtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/testscale.c')
-rwxr-xr-x | tests/testscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testscale.c b/tests/testscale.c index 3ed22b2469..0ee26749c9 100755 --- a/tests/testscale.c +++ b/tests/testscale.c @@ -46,7 +46,7 @@ int main (int argc, char *argv[]) window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (window), "Ranges with marks"); - box = gtk_vbox_new (FALSE, 5); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 5); frame = gtk_frame_new ("No marks"); scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, @@ -96,7 +96,7 @@ int main (int argc, char *argv[]) gtk_container_add (GTK_CONTAINER (frame), scale); gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE, 0); - box2 = gtk_hbox_new (FALSE, 5); + box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 5); gtk_box_pack_start (GTK_BOX (box), box2, TRUE, TRUE, 0); frame = gtk_frame_new ("No marks"); |