[glib: 1/2] gtlspassword: Fix g-i annotation of return for g_tls_password_get_value
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gtlspassword: Fix g-i annotation of return for g_tls_password_get_value
- Date: Wed, 31 Mar 2021 12:10:11 +0000 (UTC)
commit 454a9c1203c15144835137e6d70cf30aaa4ac402
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Mar 31 12:10:10 2021 +0000
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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]