summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2012-07-18 17:34:16 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2012-07-20 12:19:13 +0100
commitdbae4d1275181d9c792616a53b328d5de02035b5 (patch)
treeeb8bdd82903bf21c555f1a782b26121e02a6ebae
parent1ed620dc1a64533f8aeaa668f510c930c2aa6f5e (diff)
private-tubes-factory: add a comment about who owns new channels
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/private-tubes-factory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/private-tubes-factory.c b/src/private-tubes-factory.c
index 3d10b22d8..8ab993c0b 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,