aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-13 14:53:18 -0600
committerTed Gould <ted@gould.cx>2010-01-13 14:53:18 -0600
commitef9589128e31165cf83b576ac50688db582760f2 (patch)
tree34f82483157a99cd98252db0ce09ed13a69ad37a
parente67b856409825b020e2d71b510d05abc1cdef31c (diff)
downloadayatana-indicator-application-ef9589128e31165cf83b576ac50688db582760f2.tar.gz
ayatana-indicator-application-ef9589128e31165cf83b576ac50688db582760f2.tar.bz2
ayatana-indicator-application-ef9589128e31165cf83b576ac50688db582760f2.zip
Remove the 'destroy' signal handler before destroying the watcher proxy.
-rw-r--r--src/libappindicator/app-indicator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index e581829..7dd2894 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -374,6 +374,7 @@ app_indicator_dispose (GObject *object)
if (priv->watcher_proxy != NULL) {
dbus_g_connection_flush(priv->connection);
+ g_signal_handlers_disconnect_by_func(G_OBJECT(priv->watcher_proxy), watcher_proxy_destroyed, self);
g_object_unref(G_OBJECT(priv->watcher_proxy));
priv->watcher_proxy = NULL;
}