Fix size allocation for list mode combo box

This commit is contained in:
Kristian Rietveld 2010-12-17 16:51:42 +01:00
parent 21fc66f120
commit faf35d708b

View File

@ -2681,8 +2681,8 @@ gtk_combo_box_size_allocate (GtkWidget *widget,
{
child.x += border.left + border_width;
child.y += border.top + border_width;
child.width -= (2 * border_width) - (border.left + border.right);
child.height -= (2 * border_width) - (border.top + border.bottom);
child.width -= (2 * border_width) + border.left + border.right;
child.height -= (2 * border_width) + border.top + border.bottom;
}
if (gtk_widget_get_visible (priv->popup_window))