summaryrefslogtreecommitdiff
path: root/gtk/gtkvbbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkvbbox.c')
-rw-r--r--gtk/gtkvbbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkvbbox.c b/gtk/gtkvbbox.c
index 271c8dc092..958a1236e0 100644
--- a/gtk/gtkvbbox.c
+++ b/gtk/gtkvbbox.c
@@ -243,7 +243,7 @@ gtk_vbutton_box_size_allocate (GtkWidget *widget,
break;
case GTK_BUTTONBOX_END:
childspacing = spacing;
- y = allocation->x + allocation->height - child_height * nvis_children
+ y = allocation->y + allocation->height - child_height * nvis_children
- spacing * (nvis_children-1)
- GTK_CONTAINER (box)->border_width;
break;