summaryrefslogtreecommitdiff
path: root/tests/testbbox.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 01:21:15 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:02 +0900
commit2615ebf37e552ad863a5b4c00c1d9bc96a75a557 (patch)
tree3c1761c8f546a1dfc41d4a9f824f41f3f58eef76 /tests/testbbox.c
parent34627a6371978157a93100e88d86e267e71ce29a (diff)
downloadgtk+-2615ebf37e552ad863a5b4c00c1d9bc96a75a557.tar.gz
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
Diffstat (limited to 'tests/testbbox.c')
-rw-r--r--tests/testbbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testbbox.c b/tests/testbbox.c
index 49a9b8de97..404836e865 100644
--- a/tests/testbbox.c
+++ b/tests/testbbox.c
@@ -137,7 +137,7 @@ main (int argc,
/* GtkHButtonBox */
- hbbox = gtk_hbutton_box_new ();
+ hbbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_start (GTK_BOX (vbox), hbbox, TRUE, TRUE, 5);
for (i = 0; i < N_BUTTONS; i++) {
@@ -148,7 +148,7 @@ main (int argc,
bbox = hbbox;
/* GtkVButtonBox */
- vbbox = gtk_vbutton_box_new ();
+ vbbox = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
gtk_box_pack_start (GTK_BOX (vbox), vbbox, TRUE, TRUE, 5);
/* Options */