[folks] Don't listen to notify::groups in Individual



commit 95727c7cbe7fde32ca60206e6bd46d3f36694d00
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Aug 25 16:55:06 2010 +0100

    Don't listen to notify::groups in Individual
    
    We listen to the group_changed signal instead.

 folks/individual.vala |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/folks/individual.vala b/folks/individual.vala
index bfe5a7b..301b522 100644
--- a/folks/individual.vala
+++ b/folks/individual.vala
@@ -228,11 +228,6 @@ public class Folks.Individual : Object,
   public signal void personas_changed (GLib.List<Persona>? added,
       GLib.List<Persona>? removed);
 
-  private void notify_groups_cb (Object obj, ParamSpec ps)
-    {
-      this.update_groups ();
-    }
-
   private void notify_alias_cb (Object obj, ParamSpec ps)
     {
       this.update_alias ();
@@ -668,7 +663,6 @@ public class Folks.Individual : Object,
       persona.notify["presence-message"].connect (this.notify_presence_cb);
       persona.notify["presence-type"].connect (this.notify_presence_cb);
       persona.notify["is-favourite"].connect (this.notify_is_favourite_cb);
-      persona.notify["groups"].connect (this.notify_groups_cb);
 
       if (persona is Groups)
         {
@@ -686,7 +680,6 @@ public class Folks.Individual : Object,
       persona.notify["presence-type"].disconnect (this.notify_presence_cb);
       persona.notify["is-favourite"].disconnect (
           this.notify_is_favourite_cb);
-      persona.notify["groups"].disconnect (this.notify_groups_cb);
 
       if (persona is Groups)
         {



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