[gtk+/gtk-2-90: 122/127] Do not use lock_count of GtkAccelGroup directly in GtkMenu
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 122/127] Do not use lock_count of GtkAccelGroup directly in GtkMenu
- Date: Tue, 17 Nov 2009 19:35:03 +0000 (UTC)
commit 538acb2f9f3c90e64588a8eee5f675916569dc80
Author: Christian Dywan <christian twotoasts de>
Date: Fri Oct 23 01:59:38 2009 +0200
Do not use lock_count of GtkAccelGroup directly in GtkMenu
gtk/gtkmenu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 0bdf1de..a8b8de8 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -3017,7 +3017,7 @@ get_accel_path (GtkWidget *menu_item,
{
accel_group = gtk_accel_group_from_accel_closure (accel_closure);
- *locked = accel_group->lock_count > 0;
+ *locked = gtk_accel_group_get_is_locked (accel_group);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]