From 3531239f0edc29dc958e05ba61eef816b2e5b407 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 4 Dec 2020 13:16:23 +0000 Subject: [PATCH] ghostutils: Add missing GIR annotations Signed-off-by: Philip Withnall --- 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 **/