[gtk+] menuitem: Fix copy/paste error
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menuitem: Fix copy/paste error
- Date: Fri, 27 May 2011 14:19:00 +0000 (UTC)
commit f4e730e7188c41e83c5c63cea806a5574ad62cdb
Author: Benjamin Otte <otte redhat com>
Date: Thu May 26 16:45:25 2011 +0200
menuitem: Fix copy/paste error
Thanks to Kalev Lember for noticing this one.
gtk/gtkmenuitem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index b7405bb..be643a8 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -2148,7 +2148,7 @@ gtk_menu_item_position_menu (GtkMenu *menu,
direction = gtk_widget_get_direction (widget);
twidth = gtk_widget_get_allocated_width (GTK_WIDGET (menu));
- theight = gtk_widget_get_allocated_width (GTK_WIDGET (menu));
+ theight = gtk_widget_get_allocated_height (GTK_WIDGET (menu));
screen = gtk_widget_get_screen (GTK_WIDGET (menu));
monitor_num = gdk_screen_get_monitor_at_window (screen, priv->event_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]