telepathy-gabble: private-tubes-factory: add a comment about who owns new channels
Jonny Lamb
jonny at kemper.freedesktop.org
Tue Aug 28 06:19:33 PDT 2012
Module: telepathy-gabble
Branch: master
Commit: dbae4d1275181d9c792616a53b328d5de02035b5
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=dbae4d1275181d9c792616a53b328d5de02035b5
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Wed Jul 18 17:34:16 2012 +0100
private-tubes-factory: add a comment about who owns new channels
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
src/private-tubes-factory.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index 3d10b22..8ab993c 100644
--- a/src/private-tubes-factory.c
+++ b/src/private-tubes-factory.c
@@ -1031,6 +1031,8 @@ generate_tube_id (GabblePrivateTubesFactory *self)
return out;
}
+/* Returns: (transfer none): new tube channel. the channel manager holds
+ * the ref to this channel, so don't unref it! */
static GabbleTubeIface *
new_channel_from_request (GabblePrivateTubesFactory *self,
GHashTable *request)
@@ -1134,6 +1136,8 @@ send_tube_close_msg (GabblePrivateTubesFactory *self,
g_object_unref (msg);
}
+/* Returns: (transfer none): new tube channel. the channel manager holds
+ * the ref to this channel, so don't unref it! */
static GabbleTubeIface *
new_channel_from_stanza (GabblePrivateTubesFactory *self,
WockyStanza *stanza,
More information about the telepathy-commits
mailing list