[glib/ricotz/for-master] gtlspassword: Fix g-i annotation of return for g_tls_password_get_value




commit 0cfa072ba8703b7d37df59cd53cf5849d1dca565
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Mar 31 12:25:57 2021 +0200

    gtlspassword: Fix g-i annotation of return for g_tls_password_get_value

 gio/gtlspassword.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gtlspassword.c b/gio/gtlspassword.c
index 948e812df..3614f1497 100644
--- a/gio/gtlspassword.c
+++ b/gio/gtlspassword.c
@@ -241,7 +241,7 @@ 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.
  *
@@ -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]