summaryrefslogtreecommitdiff
path: root/libpurple/protocols.h
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2019-08-03 02:33:05 -0400
committerElliott Sales de Andrade <qulogic@pidgin.im>2019-08-03 02:33:05 -0400
commitc898d03ef71e89fe59841dfc6288efa1a7aaa14d (patch)
tree0ac7c7c7609ca36923387bba51e2d9a55d0b0e5b /libpurple/protocols.h
parent8c9a488e2f2d07461f0141c37c0499937966addd (diff)
downloadpidgin-c898d03ef71e89fe59841dfc6288efa1a7aaa14d.tar.gz
Add missing transfer annotations.
Diffstat (limited to 'libpurple/protocols.h')
-rw-r--r--libpurple/protocols.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpurple/protocols.h b/libpurple/protocols.h
index 86be58a449..41ae395332 100644
--- a/libpurple/protocols.h
+++ b/libpurple/protocols.h
@@ -386,6 +386,8 @@ purple_protocol_get_max_message_size(PurpleProtocol *protocol);
* @id: The protocol's ID.
*
* Finds a protocol by ID.
+ *
+ * Returns: (transfer none): The protocol, if found, or %NULL otherwise.
*/
PurpleProtocol *purple_protocols_find(const char *id);
@@ -397,7 +399,8 @@ PurpleProtocol *purple_protocols_find(const char *id);
*
* Adds a protocol to the list of protocols.
*
- * Returns: The protocol instance if the protocol was added, else %NULL.
+ * Returns: (transfer none): The protocol instance if the protocol was added,
+ * else %NULL.
*/
PurpleProtocol *purple_protocols_add(GType protocol_type, GError **error);