mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
gtkmenu: Really fix menu code
Previous patchf0039aa2a4
is not correct as it try to fix a bug introduced in commit3a10216dd0
This commit is contained in:
parent
f0039aa2a4
commit
90d9bfe086
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user