From fb430a8dc556fe9215c0f11b53ab4860cfc79575 Mon Sep 17 00:00:00 2001 From: Stefan Jeske Date: Sun, 26 Jul 1998 14:44:36 +0000 Subject: [PATCH] Fixed wrong allocation for GTK_BUTTONBOX_END. (allocation->x => allocation->y) --- gtk/gtkvbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;