diff options
author | Kristian Rietveld <kris@gtk.org> | 2003-10-11 13:39:35 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2003-10-11 13:39:35 +0000 |
commit | d75b1a1a0ad22c000b634e680b5cd4fc7b7f892d (patch) | |
tree | 47da9e08d5a9abd2dc2d80234dc71a65a984b495 /gtk/gtkcombobox.c | |
parent | c3841e701988474911da4636c367a2eb2d062a10 (diff) | |
download | gdk-pixbuf-d75b1a1a0ad22c000b634e680b5cd4fc7b7f892d.tar.gz |
for the custom child list mode, allocate the height allocation->height to
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
child list mode, allocate the height allocation->height to the
button instead of the height requested by the button. (Tiny
size allocation screwup noticed by Macro Pesenti Gritti).
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 1c0fbeb84..5527b3201 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -995,7 +995,7 @@ gtk_combo_box_size_allocate (GtkWidget *widget, child.x = allocation->x + allocation->width - req.width; child.y = allocation->y; child.width = req.width; - child.height = req.height; + child.height = allocation->height; gtk_widget_size_allocate (combo_box->priv->button, &child); child.x = allocation->x; |