gtkmenu: Really fix menu code

Previous patch f0039aa2a4
is not correct as it try to fix a bug introduced in commit
3a10216dd0
This commit is contained in:
Javier Jardón 2010-10-04 18:48:47 +02:00
parent f0039aa2a4
commit 90d9bfe086

View File

@ -5474,7 +5474,7 @@ get_menu_height (GtkMenu *menu)
gtk_widget_get_allocation (widget, &allocation);
height = allocation.height;
height -= gtk_container_get_border_width (GTK_CONTAINER (widget)) + gtk_widget_get_style (widget)->ythickness * 2;
height -= (gtk_container_get_border_width (GTK_CONTAINER (widget)) + gtk_widget_get_style (widget)->ythickness) * 2;
if (!menu->tearoff_active)
{