aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-28 08:58:38 -0500
committerMichael Terry <mike@mterry.name>2011-02-28 08:58:38 -0500
commit49874d38804ea6cc47d3a241600e4f0a12f9fc1a (patch)
treebeb80910176c797b9d5435688670654b9cd48156 /src/app-indicator.c
parent5f97e91d0017b93369d3ddc7e7354a8f285bf336 (diff)
downloadlibayatana-appindicator-49874d38804ea6cc47d3a241600e4f0a12f9fc1a.tar.gz
libayatana-appindicator-49874d38804ea6cc47d3a241600e4f0a12f9fc1a.tar.bz2
libayatana-appindicator-49874d38804ea6cc47d3a241600e4f0a12f9fc1a.zip
* debian/control, debian/rules:0.2.96-0ubuntu2
- Add quilt * debian/patches/disconnect-from-theme.patch: - Fix crash when switching themes by disconnecting a signal from the theme on dispose. LP: #708188
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;
}