[Telepathy-commits] [telepathy-gabble/master] roster: Annotate GroupsUpdateContext, GroupMembershipUpdate with ownership

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:51:49 PDT 2008


20080423103134-53eee-aafc845df529968b8d450f6858ccdf1e8923135d.gz
---
 src/roster.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/roster.c b/src/roster.c
index 4c3a2b1..0f87b7d 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -513,12 +513,15 @@ static GabbleRosterChannel *_gabble_roster_get_channel (GabbleRoster *,
 
 typedef struct
 {
+  /* borrowed TpHandle => GroupMembershipUpdate */
   GHashTable *group_mem_updates;
+  /* borrowed */
   guint contact_handle;
 } GroupsUpdateContext;
 
 typedef struct
 {
+  /* all handles borrowed */
   TpIntSet *contacts_added;
   TpIntSet *contacts_removed;
 #ifdef ENABLE_DEBUG
-- 
1.5.6.3




More information about the Telepathy-commits mailing list