[empathy] tp-contact-factory: document that empathy_tp_contact_factory_get_from_{ids, handles} don't give a ref



commit 493d8e1b341aae18d3d94ff9fbe0187cd100a60d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Nov 19 10:53:53 2009 +0000

    tp-contact-factory: document that empathy_tp_contact_factory_get_from_{ids,handles} don't give a ref to the cb

 libempathy/empathy-tp-contact-factory.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
index d326626..70bf948 100644
--- a/libempathy/empathy-tp-contact-factory.c
+++ b/libempathy/empathy-tp-contact-factory.c
@@ -899,6 +899,7 @@ get_contacts_by_id_cb (TpConnection *connection,
 	contacts_array_free (n_contacts, empathy_contacts);
 }
 
+/* The callback is NOT given a reference to the EmpathyContact objects */
 void
 empathy_tp_contact_factory_get_from_ids (EmpathyTpContactFactory *tp_factory,
 					 guint                    n_ids,
@@ -1022,6 +1023,7 @@ get_contacts_by_handle_cb (TpConnection *connection,
 	contacts_array_free (n_contacts, empathy_contacts);
 }
 
+/* The callback is NOT given a reference to the EmpathyContact objects */
 void
 empathy_tp_contact_factory_get_from_handles (EmpathyTpContactFactory *tp_factory,
 					     guint n_handles,



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