[gtk+/wip/gtkmenutrackeritem: 5/20] Fix logic error in GtkMenuTrackerItem
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gtkmenutrackeritem: 5/20] Fix logic error in GtkMenuTrackerItem
- Date: Fri, 10 May 2013 18:53:49 +0000 (UTC)
commit 7520eb69960a632da05a45bed0784c713eb274eb
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]