summaryrefslogtreecommitdiff
path: root/gtk/gtkmenutrackeritem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmenutrackeritem.c')
-rw-r--r--gtk/gtkmenutrackeritem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmenutrackeritem.c b/gtk/gtkmenutrackeritem.c
index d220041174..dc46be891d 100644
--- a/gtk/gtkmenutrackeritem.c
+++ b/gtk/gtkmenutrackeritem.c
@@ -357,6 +357,8 @@ gtk_menu_tracker_item_action_removed (GtkActionObserver *observer,
if (!self->can_activate)
return;
+ self->can_activate = FALSE;
+
g_object_freeze_notify (G_OBJECT (self));
if (self->sensitive)