aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-25 14:16:24 -0500
committerMichael Terry <mike@mterry.name>2011-02-25 14:16:24 -0500
commitc591e81bea3ae2f6e52626d397e4779bba65122d (patch)
tree3900eb3f763114bd1d36fc921c9b02d08629d27d
parentd634d56953314f19911f4331b7e9a03f04f20b7f (diff)
downloadlibayatana-appindicator-c591e81bea3ae2f6e52626d397e4779bba65122d.tar.gz
libayatana-appindicator-c591e81bea3ae2f6e52626d397e4779bba65122d.tar.bz2
libayatana-appindicator-c591e81bea3ae2f6e52626d397e4779bba65122d.zip
disconnect from icon theme on dispose
-rw-r--r--src/app-indicator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 167e17f..01fdd5a 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -667,6 +667,8 @@ app_indicator_dispose (GObject *object)
priv->connection = NULL;
}
+ g_signal_handlers_disconnect_by_func(gtk_icon_theme_get_default(), G_CALLBACK(theme_changed_cb), self);
+
G_OBJECT_CLASS (app_indicator_parent_class)->dispose (object);
return;
}