diff options
author | Ted Gould <ted@gould.cx> | 2010-02-18 08:38:39 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-18 08:38:39 -0600 |
commit | 536034bb020f39dcf45d9a0d636f3f5dbd55deb7 (patch) | |
tree | e3bce55a7aae8f364a16044b7e27a3bb92107806 /src | |
parent | 17b4a50fb7468506c371ae6429238afc9fdcfb2c (diff) | |
download | ayatana-indicator-messages-536034bb020f39dcf45d9a0d636f3f5dbd55deb7.tar.gz ayatana-indicator-messages-536034bb020f39dcf45d9a0d636f3f5dbd55deb7.tar.bz2 ayatana-indicator-messages-536034bb020f39dcf45d9a0d636f3f5dbd55deb7.zip |
Setting the listener to NULL after unrefing it.
Diffstat (limited to 'src')
-rw-r--r-- | src/app-menu-item.c | 1 |
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) { |