[folks] Fix calls to deprecated Gee.Map.remove()
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Fix calls to deprecated Gee.Map.remove()
- Date: Tue, 17 Aug 2010 23:56:41 +0000 (UTC)
commit 176f8f1aab8cc95ca2709778a9bbf427680d3530
Author: Travis Reitter <travis reitter collabora co uk>
Date: Tue Aug 17 16:55:48 2010 -0700
Fix calls to deprecated Gee.Map.remove()
backends/telepathy/tpf-persona-store.vala | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/backends/telepathy/tpf-persona-store.vala b/backends/telepathy/tpf-persona-store.vala
index 272f1cc..64eba8e 100644
--- a/backends/telepathy/tpf-persona-store.vala
+++ b/backends/telepathy/tpf-persona-store.vala
@@ -449,7 +449,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
this.subscribe_channel_group_members_changed_detailed_cb);
}
- this.standard_channels_unready.remove (name);
+ this.standard_channels_unready.unset (name);
c.invalidated.connect (this.channel_invalidated_cb);
@@ -538,8 +538,8 @@ public class Tpf.PersonaStore : Folks.PersonaStore
{
var channel = (Channel) proxy;
- this.channel_group_personas_map.remove (channel);
- this.channel_group_incoming_adds.remove (channel);
+ this.channel_group_personas_map.unset (channel);
+ this.channel_group_incoming_adds.unset (channel);
if (proxy == this.publish)
this.publish = null;
@@ -550,7 +550,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
var error = new GLib.Error ((Quark) domain, code, "%s", message);
var name = channel.get_identifier ();
this.group_removed (name, error);
- this.groups.remove (name);
+ this.groups.unset (name);
}
}
@@ -609,7 +609,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
/*
* remove all handle-keyed entries
*/
- this.handle_persona_map.remove (handle);
+ this.handle_persona_map.unset (handle);
/* skip channel_group_incoming_adds because they occurred after removal */
@@ -736,7 +736,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
var name = c.get_identifier ();
this.groups[name] = c;
- this.group_channels_unready.remove (name);
+ this.group_channels_unready.unset (name);
c.invalidated.connect (this.channel_invalidated_cb);
c.group_members_changed_detailed.connect (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]