Fixed wrong allocation for GTK_BUTTONBOX_END.

(allocation->x  =>  allocation->y)
This commit is contained in:
Stefan Jeske 1998-07-26 14:44:36 +00:00
parent 65044acefd
commit fb430a8dc5

View File

@ -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;