summaryrefslogtreecommitdiff
path: root/tests/testspinbutton.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/testspinbutton.c
parentae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff)
downloadgtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/testspinbutton.c')
-rw-r--r--tests/testspinbutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testspinbutton.c b/tests/testspinbutton.c
index d77c69542c..535a35cb2c 100644
--- a/tests/testspinbutton.c
+++ b/tests/testspinbutton.c
@@ -31,7 +31,7 @@ main (int argc, char **argv)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "delete_event", gtk_main_quit, NULL);
- mainbox = gtk_vbox_new (FALSE, 2);
+ mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 2);
gtk_container_add (GTK_CONTAINER (window), mainbox);
for (max = 9; max <= 999999999; max = max * 10 + 9) {
@@ -42,7 +42,7 @@ main (int argc, char **argv)
0.0);
GtkWidget *spin = gtk_spin_button_new (adj, 1.0, 0);
- GtkWidget *hbox = gtk_hbox_new (FALSE, 2);
+ GtkWidget *hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 2);
gtk_box_pack_start (GTK_BOX (hbox),
spin,