diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:00:32 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-30 05:22:58 +0200 |
commit | a9894d4cf48e04dcb89043b425be07870ad7c496 (patch) | |
tree | e375b4a784feea7eb7815ecb2c69443e8eaef55a /gtk/gtkbutton.c | |
parent | b2207f6730137f5167b39d6c686a905ba2f532ab (diff) | |
download | gtk+-a9894d4cf48e04dcb89043b425be07870ad7c496.tar.gz |
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r-- | gtk/gtkbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index ab3fe77f02..3c81cbfca0 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1025,9 +1025,9 @@ gtk_button_construct_child (GtkButton *button) if (priv->image_position == GTK_POS_LEFT || priv->image_position == GTK_POS_RIGHT) - box = gtk_hbox_new (FALSE, image_spacing); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, image_spacing); else - box = gtk_vbox_new (FALSE, image_spacing); + box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, image_spacing); if (priv->align_set) align = gtk_alignment_new (priv->xalign, priv->yalign, 0.0, 0.0); |