[gtk+/gtk-2-90: 122/146] 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/146] Do not use lock_count of GtkAccelGroup directly in GtkMenu
- Date: Wed, 9 Dec 2009 07:45:14 +0000 (UTC)
commit 2f9fae96fd62ac485a4b6099296ed5f8593ddf42
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]