[gtk+/gtk-2-90: 121/158] Do not use lock_count of GtkAccelGroup directly in GtkMenu
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 121/158] Do not use lock_count of GtkAccelGroup directly in GtkMenu
- Date: Thu, 11 Mar 2010 02:53:44 +0000 (UTC)
commit cab3a2f4c87020e1491cc17e0527d9fcc0120c6b
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 62039fe..e5de5cf 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -3034,7 +3034,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]