aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index b55de2f..8e1c50f 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -147,6 +147,7 @@ app_menu_item_dispose (GObject *object)
if (priv->listener != NULL) {
g_signal_handlers_disconnect_by_func(G_OBJECT(priv->listener), count_changed, self);
g_object_unref(priv->listener);
+ priv->listener = NULL;
}
if (priv->shortcuts != NULL) {