[folks] Update object ownership in the Telepathy backend for the new tp-lowlevel ownership.



commit 6814e1ada47d86db8fed48c87bf27fe7f3d6a26e
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Aug 17 16:35:28 2010 -0700

    Update object ownership in the Telepathy backend for the new tp-lowlevel ownership.

 backends/telepathy/tpf-persona-store.vala |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/backends/telepathy/tpf-persona-store.vala b/backends/telepathy/tpf-persona-store.vala
index edd784d..272f1cc 100644
--- a/backends/telepathy/tpf-persona-store.vala
+++ b/backends/telepathy/tpf-persona-store.vala
@@ -362,9 +362,8 @@ public class Tpf.PersonaStore : Folks.PersonaStore
       this.initialise_favourite_contacts.begin ();
     }
 
-  private void new_group_channels_cb (void *data)
+  private void new_group_channels_cb (Channel channel)
     {
-      var channel = (Channel) data;
       if (channel == null)
         {
           warning ("error creating channel for NewChannels signal");
@@ -868,7 +867,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
           if (contact_handles.length < 1)
             return;
 
-          unowned GLib.List<TelepathyGLib.Contact> contacts =
+          GLib.List<TelepathyGLib.Contact> contacts =
               yield this.ll.connection_get_contacts_by_handle_async (
                   this.conn, contact_handles, (uint[]) features);
 
@@ -906,7 +905,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
 
       if (contact_ids.length > 0)
         {
-          unowned GLib.List<TelepathyGLib.Contact> contacts =
+          GLib.List<TelepathyGLib.Contact> contacts =
               yield this.ll.connection_get_contacts_by_id_async (
                   this.conn, contact_ids, (uint[]) features);
 



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