summaryrefslogtreecommitdiff
path: root/demos/gtk-demo
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 01:21:15 +0200
committerJavier Jardón <jjardon@gnome.org>2010-10-30 02:26:23 +0200
commite31304fb7b86b134edf85c9acb1432b1e15f5831 (patch)
tree0eb00b6dff7a07b1ae041ad9d56fb0c6c7a103a8 /demos/gtk-demo
parent8154a5930dab5f9a75132d82d867273e4b776120 (diff)
downloadgtk+-e31304fb7b86b134edf85c9acb1432b1e15f5831.tar.gz
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
Diffstat (limited to 'demos/gtk-demo')
-rw-r--r--demos/gtk-demo/button_box.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/button_box.c b/demos/gtk-demo/button_box.c
index a535bf9ce9..8b53d33f95 100644
--- a/demos/gtk-demo/button_box.c
+++ b/demos/gtk-demo/button_box.c
@@ -18,9 +18,9 @@ create_bbox (gint horizontal,
frame = gtk_frame_new (title);
if (horizontal)
- bbox = gtk_hbutton_box_new ();
+ bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
else
- bbox = gtk_vbutton_box_new ();
+ bbox = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
gtk_container_set_border_width (GTK_CONTAINER (bbox), 5);
gtk_container_add (GTK_CONTAINER (frame), bbox);