From 454a9c1203c15144835137e6d70cf30aaa4ac402 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 31 Mar 2021 12:10:10 +0000 Subject: [PATCH] gtlspassword: Fix g-i annotation of return for g_tls_password_get_value --- gio/gtlspassword.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gtlspassword.c b/gio/gtlspassword.c index 948e812df..f705bcb3f 100644 --- a/gio/gtlspassword.c +++ b/gio/gtlspassword.c @@ -241,9 +241,9 @@ g_tls_password_new (GTlsPasswordFlags flags, } /** - * g_tls_password_get_value: + * g_tls_password_get_value: (virtual get_value) * @password: a #GTlsPassword object - * @length: (nullable): location to place the length of the password. + * @length: (optional): location to place the length of the password. * * Get the password value. If @length is not %NULL then it will be * filled in with the length of the password value. (Note that the @@ -251,7 +251,7 @@ g_tls_password_new (GTlsPasswordFlags flags, * for @length in contexts where you know the password will have a * certain fixed length.) * - * Returns: The password value (owned by the password object). + * Returns: (array length=length): The password value (owned by the password object). * * Since: 2.30 */