diff options
author | Ted Gould <ted@gould.cx> | 2010-01-13 14:53:18 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-13 14:53:18 -0600 |
commit | ef9589128e31165cf83b576ac50688db582760f2 (patch) | |
tree | 34f82483157a99cd98252db0ce09ed13a69ad37a /src/libappindicator | |
parent | e67b856409825b020e2d71b510d05abc1cdef31c (diff) | |
download | libayatana-appindicator-ef9589128e31165cf83b576ac50688db582760f2.tar.gz libayatana-appindicator-ef9589128e31165cf83b576ac50688db582760f2.tar.bz2 libayatana-appindicator-ef9589128e31165cf83b576ac50688db582760f2.zip |
Remove the 'destroy' signal handler before destroying the watcher proxy.
Diffstat (limited to 'src/libappindicator')
-rw-r--r-- | src/libappindicator/app-indicator.c | 1 |
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; } |