summaryrefslogtreecommitdiff
path: root/examples/buttonbox/buttonbox.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 /examples/buttonbox/buttonbox.c
parent34627a6371978157a93100e88d86e267e71ce29a (diff)
downloadgtk+-2615ebf37e552ad863a5b4c00c1d9bc96a75a557.tar.gz
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
Diffstat (limited to 'examples/buttonbox/buttonbox.c')
-rw-r--r--examples/buttonbox/buttonbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/buttonbox/buttonbox.c b/examples/buttonbox/buttonbox.c
index 1809154d8d..72df6e8599 100644
--- a/examples/buttonbox/buttonbox.c
+++ b/examples/buttonbox/buttonbox.c
@@ -16,9 +16,9 @@ static GtkWidget *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);