diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2019-08-03 02:33:05 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2019-08-03 02:33:05 -0400 |
commit | c898d03ef71e89fe59841dfc6288efa1a7aaa14d (patch) | |
tree | 0ac7c7c7609ca36923387bba51e2d9a55d0b0e5b /libpurple/protocols.h | |
parent | 8c9a488e2f2d07461f0141c37c0499937966addd (diff) | |
download | pidgin-c898d03ef71e89fe59841dfc6288efa1a7aaa14d.tar.gz |
Add missing transfer annotations.
Diffstat (limited to 'libpurple/protocols.h')
-rw-r--r-- | libpurple/protocols.h | 5 |
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); |