[glib: 2/5] ghostutils: Add missing GIR annotations
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/5] ghostutils: Add missing GIR annotations
- Date: Mon, 7 Dec 2020 08:29:32 +0000 (UTC)
commit 3531239f0edc29dc958e05ba61eef816b2e5b407
Author: Philip Withnall <pwithnall endlessos org>
Date: Fri Dec 4 13:16:23 2020 +0000
ghostutils: Add missing GIR annotations
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/ghostutils.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/glib/ghostutils.c b/glib/ghostutils.c
index 66be5c9a6..441e98d75 100644
--- a/glib/ghostutils.c
+++ b/glib/ghostutils.c
@@ -413,8 +413,8 @@ idna_end_of_label (const gchar *str)
* string containing no uppercase letters and not ending with a
* trailing dot.
*
- * Returns: an ASCII hostname, which must be freed, or %NULL if
- * @hostname is in some way invalid.
+ * Returns: (nullable) (transfer full): an ASCII hostname, which must be freed,
+ * or %NULL if @hostname is in some way invalid.
*
* Since: 2.22
**/
@@ -594,8 +594,8 @@ punycode_decode (const gchar *input,
* Of course if @hostname is not an internationalized hostname, then
* the canonical presentation form will be entirely ASCII.
*
- * Returns: a UTF-8 hostname, which must be freed, or %NULL if
- * @hostname is in some way invalid.
+ * Returns: (nullable) (transfer full): a UTF-8 hostname, which must be freed,
+ * or %NULL if @hostname is in some way invalid.
*
* Since: 2.22
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]