From c591e81bea3ae2f6e52626d397e4779bba65122d Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Fri, 25 Feb 2011 14:16:24 -0500 Subject: disconnect from icon theme on dispose --- src/app-indicator.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3