Fix logic error in GtkMenuTrackerItem

This commit is contained in:
Ryan Lortie
2013-05-08 14:10:53 -04:00
parent 7d3b8ad9bc
commit 7520eb6996

View File

@@ -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));