[gtk+/wip/gtkmenutrackeritem] Fix logic error in GtkMenuTrackerItem
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gtkmenutrackeritem] Fix logic error in GtkMenuTrackerItem
- Date: Wed, 8 May 2013 18:12:06 +0000 (UTC)
commit b31ceba1ff9ab2f353837ca7d501ce926ab92442
Author: Ryan Lortie <desrt desrt ca>
Date: Wed May 8 14:10:53 2013 -0400
Fix logic error in GtkMenuTrackerItem
gtk/gtkmenutrackeritem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenutrackeritem.c b/gtk/gtkmenutrackeritem.c
index 0f7210b..24d5043 100644
--- a/gtk/gtkmenutrackeritem.c
+++ b/gtk/gtkmenutrackeritem.c
@@ -263,7 +263,7 @@ gtk_menu_tracker_item_action_removed (GActionObserver *observer,
{
GtkMenuTrackerItem *self = GTK_MENU_TRACKER_ITEM (observer);
- if (self->can_activate)
+ if (!self->can_activate)
return;
g_object_freeze_notify (G_OBJECT (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]