/pidgin/main: a728c6b23e00: tls-certificate: Fix GI annotations
Mike Ruprecht <[email protected]> Tue, 06 Sep 2016 11:19:21 -0400
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: a728c6b23e00a7983479abcd7e86240ae2758d5e Author: Mike Ruprecht <[email protected]> Date: 2016-08-30 01:58 -0500 Branch: default URL: https://hg.pidgin.im/pidgin/main/rev/a728c6b23e00 Description: tls-certificate: Fix GI annotations diffstat: libpurple/tls-certificate.h | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diffs (49 lines): diff --git a/libpurple/tls-certificate.h b/libpurple/tls-certificate.h --- a/libpurple/tls-certificate.h +++ b/libpurple/tls-certificate.h @@ -45,7 +45,7 @@ * purple_tls_certificate_trust() and friends. These IDs can then be passed * to purple_certificate_path() or used directly, if desired. * - * Returns: (element-type utf8): The #GList of IDs described above + * Returns: (transfer full) (element-type utf8): #GList of IDs described above * Free with purple_certificate_free_ids() */ GList * @@ -53,7 +53,8 @@ purple_tls_certificate_list_ids(void); /** * purple_tls_certificate_free_ids: - * @ids: List of ids retrieved from purple_certificate_list_ids() + * @ids: (transfer full) (element-type utf8): List of ids retrieved from + * purple_certificate_list_ids() * * Frees the list of IDs returned from purple_certificate_list_ids(). */ @@ -66,6 +67,8 @@ purple_tls_certificate_free_ids(GList *i * @error: A GError location to store the error occurring, or NULL to ignore * * Loads the certificate referenced by ID into a #GTlsCertificate object. + * + * Returns: (transfer full): #GTlsCertificate loaded from ID */ GTlsCertificate * purple_tls_certificate_new_from_id(const gchar *id, GError **error); @@ -106,7 +109,7 @@ purple_tls_certificate_distrust(const gc * Connects the Purple TLS certificate subsystem to @conn so it will accept * certificates trusted by purple_tls_certificate_trust() and friends. * - * Returns: (transfer: none) (type GObject.Object): @conn, similar to + * Returns: (transfer none) (type GObject.Object): @conn, similar to * g_object_connect() */ gpointer @@ -120,7 +123,7 @@ purple_tls_certificate_attach_to_tls_con * connections it creates will accept certificates trusted by * purple_tls_certificate_trust() and friends. * - * Returns: (transfer: none) (type GObject.Object): @client, similar to + * Returns: (transfer none) (type GObject.Object): @client, similar to * g_object_connect() */ gpointer _______________________________________________ Commits mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/commits