[folks] TpfPersonaStore: disconnect signals in _reset



commit b28e65a2c84f7c974a5f2c6ea8d247b06e1d24cb
Author: Xavier Claessens <xavier claessens collabora co uk>
Date:   Tue Apr 10 16:53:13 2012 +0200

    TpfPersonaStore: disconnect signals in _reset
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630822

 backends/telepathy/lib/tpf-persona-store.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index 61d3e0d..8ae4711 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -386,6 +386,11 @@ public class Tpf.PersonaStore : Folks.PersonaStore
         {
           this._conn.notify["self-contact"].disconnect (
               this._self_contact_changed_cb);
+          this._conn.notify["contact-list-state"].disconnect (
+              this._contact_list_state_changed_cb);
+          this._conn.contact_list_changed.disconnect (
+              this._contact_list_changed_cb);
+
           this._conn = null;
         }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]