aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-02 11:06:53 -0600
committerTed Gould <ted@gould.cx>2011-03-02 11:06:53 -0600
commitd6e25495d56a81e4ca5ded7be39b7e3b4abb01f0 (patch)
tree3900eb3f763114bd1d36fc921c9b02d08629d27d /src/app-indicator.c
parentd634d56953314f19911f4331b7e9a03f04f20b7f (diff)
parentc591e81bea3ae2f6e52626d397e4779bba65122d (diff)
downloadlibayatana-appindicator-d6e25495d56a81e4ca5ded7be39b7e3b4abb01f0.tar.gz
libayatana-appindicator-d6e25495d56a81e4ca5ded7be39b7e3b4abb01f0.tar.bz2
libayatana-appindicator-d6e25495d56a81e4ca5ded7be39b7e3b4abb01f0.zip
Drop theme signal handler when shutting down.
Diffstat (limited to 'src/app-indicator.c')
-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;
}