summaryrefslogtreecommitdiff
path: root/salut
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-03-02 16:51:12 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-03-02 16:51:12 +0000
commit627a15ea32138a4406dc2bd8c29e879b1a8f14e9 (patch)
treebd18c753bc0df40af75a7cbdd34722457481a8fc /salut
parentd63fd99f448a10cf34b881c478861b603ffd2c6d (diff)
plugin: clarify the ownership of the returned array
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'salut')
-rw-r--r--salut/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/salut/plugin.h b/salut/plugin.h
index 172672fd..975446c6 100644
--- a/salut/plugin.h
+++ b/salut/plugin.h
@@ -40,9 +40,9 @@ G_BEGIN_DECLS
typedef struct _SalutPlugin SalutPlugin;
typedef struct _SalutPluginInterface SalutPluginInterface;
-/* The return type should be a new GPtrArray* which will be freed
- * straight after this function is called, so the pointer array must
- * not have a free function. */
+/* The caller of this function takes ownership of the returned
+ * GPtrArray and the channel managers inside the array. This has the
+ * same semantics as TpBaseConnectionCreateChannelManagersImpl. */
typedef GPtrArray * (*SalutPluginCreateChannelManagersImpl) (
SalutPlugin *plugin,
TpBaseConnection *connection);