diff options
author | Mike Ruprecht <cmaiku@gmail.com> | 2018-12-13 17:32:40 -0600 |
---|---|---|
committer | Mike Ruprecht <cmaiku@gmail.com> | 2018-12-13 17:32:40 -0600 |
commit | a34a792e3c563081c7667423befec98557867968 (patch) | |
tree | 71485f0d8c0ad8eea9d6d05bf54cd9e6d2ea69b7 | |
parent | 662fa01dbc4ff79b6cfb909793f116c52bc24d30 (diff) | |
download | pidgin-a34a792e3c563081c7667423befec98557867968.tar.gz |
libpurple: Fix GObject introspection annotations on a few functions
This patch adds some missing "transfer" and "element-type" annotations
on functions in libpurple/xfer.h. It also fixes a documentation
comment which was pointing to the wrong function.
-rw-r--r-- | libpurple/xfer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libpurple/xfer.h b/libpurple/xfer.h index b5721d5689..71bfb55fd9 100644 --- a/libpurple/xfer.h +++ b/libpurple/xfer.h @@ -307,7 +307,7 @@ PurpleXferType purple_xfer_get_xfer_type(const PurpleXfer *xfer); * * Returns the account the file transfer is using. * - * Returns: The account. + * Returns: (transfer none): The account. */ PurpleAccount *purple_xfer_get_account(const PurpleXfer *xfer); @@ -935,7 +935,8 @@ GType purple_xfer_ui_ops_get_type(void); * * Returns all xfers * - * Returns: all current xfers with refs + * Returns: (element-type Purple.Xfer) (transfer none): all current xfers + * with refs */ GList *purple_xfers_get_all(void); @@ -1014,14 +1015,14 @@ gboolean purple_protocol_xfer_can_receive(PurpleProtocolXfer *prplxfer, PurpleCo void purple_protocol_xfer_send_file(PurpleProtocolXfer *prplxfer, PurpleConnection *connection, const gchar *who, const gchar *filename); /** - * purple_protocol_xfer_send: + * purple_protocol_xfer_new_xfer: * @prplxfer: The #PurpleProtocolXfer implementer instance * @connection: The #PurpleConnection that we're checking * @who: The user that we want to send a file transfer to. * * Creates a new #PurpleXfer to @who. * - * Returns: A new #PurpleXfer instance. + * Returns: (transfer full): A new #PurpleXfer instance. */ PurpleXfer *purple_protocol_xfer_new_xfer(PurpleProtocolXfer *prplxfer, PurpleConnection *connection, const gchar *who); |