]> Pileus Git - ~andy/gtk/commitdiff
Fixed wrong allocation for GTK_BUTTONBOX_END.
authorStefan Jeske <stefan@src.gnome.org>
Sun, 26 Jul 1998 14:44:36 +0000 (14:44 +0000)
committerStefan Jeske <stefan@src.gnome.org>
Sun, 26 Jul 1998 14:44:36 +0000 (14:44 +0000)
(allocation->x  =>  allocation->y)

gtk/gtkvbbox.c

index 271c8dc092067da2d5012ec349d77dac7ca47b32..958a1236e04852b1183a82995184b7dbff16f6a9 100644 (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;