[gtk+] Fix a crash in menu code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a crash in menu code
- Date: Mon, 4 Oct 2010 14:38:44 +0000 (UTC)
commit f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2
Author: Christian Persch <chpe gnome org>
Date: Mon Oct 4 10:36:43 2010 -0400
Fix a crash in menu code
https://bugzilla.gnome.org/show_bug.cgi?id=631311
gtk/gtkmenu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index d0c0338..dbbf311 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]