From 80d4b11e13cfbbb02025e542721dffcc29050717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 17 Nov 2022 22:43:29 +0200 Subject: Fix some g-i annotations related to arrays --- pango/pango-language.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pango/pango-language.c') diff --git a/pango/pango-language.c b/pango/pango-language.c index b963ef13..410e6f98 100644 --- a/pango/pango-language.c +++ b/pango/pango-language.c @@ -617,8 +617,7 @@ pango_language_get_sample_string (PangoLanguage *language) /** * pango_language_get_scripts: * @language: (nullable): a `PangoLanguage` - * @num_scripts: (out caller-allocates) (optional): location to - * return number of scripts + * @num_scripts: (out) (optional): location to return number of scripts * * Determines the scripts used to to write @language. * @@ -853,7 +852,7 @@ out: * you should first try the default language, followed by the * languages returned by this function. * - * Returns: (transfer none) (nullable): a %NULL-terminated array + * Returns: (transfer none) (nullable) (array zero-terminated=1): a %NULL-terminated array * of `PangoLanguage`* * * Since: 1.48 -- cgit v1.2.1