summaryrefslogtreecommitdiff
path: root/salut
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-02-07 12:40:18 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-02-07 13:52:43 +0000
commit16b379a0df1128cdc22c64fc06b2fb55001129d1 (patch)
tree81e83ecdd9e57f5dcf13899c0ae45dbfbf96d099 /salut
parentc241268980bcbdc00e768343eb56d7ae27162020 (diff)
downloadtelepathy-salut-16b379a0df1128cdc22c64fc06b2fb55001129d1.tar.gz
plugin: clarify the return type of CreateChannelManagersImpl
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'salut')
-rw-r--r--salut/plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/salut/plugin.h b/salut/plugin.h
index c833ac42..88d716b1 100644
--- a/salut/plugin.h
+++ b/salut/plugin.h
@@ -39,6 +39,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. */
typedef GPtrArray * (*SalutPluginCreateChannelManagersImpl) (
SalutPlugin *plugin,
TpBaseConnection *connection);