[vte] widget: Fix some goi annotations



commit 2950eadc52f2648fbf7ee1c39e1c648675f53b29
Author: Christian Persch <chpe src gnome org>
Date:   Tue Apr 28 23:40:00 2020 +0200

    widget: Fix some goi annotations
    
    https://gitlab.gnome.org/GNOME/vte/-/issues/228#note_783408

 src/vtegtk.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 622b742b..5c1776b3 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -2270,7 +2270,7 @@ vte_terminal_hyperlink_check_event(VteTerminal *terminal,
  * @regexes: (array length=n_regexes): an array of #VteRegex
  * @n_regexes: number of items in @regexes
  * @match_flags: PCRE2 match flags, or 0
- * @n_matches: (out) (nullable): number of items in @matches, which is always equal to @n_regexes
+ * @n_matches: (out) (optional): number of items in @matches, which is always equal to @n_regexes
  *
  * Like vte_terminal_event_check_regex_simple(), but returns an array of strings,
  * containing the matching text (or %NULL if no match) corresponding to each of the
@@ -2279,7 +2279,7 @@ vte_terminal_hyperlink_check_event(VteTerminal *terminal,
  * You must free each string and the array; but note that this is *not* a %NULL-terminated
  * string array, and so you must *not* use g_strfreev() on it.
  *
- * Returns: (transfer full) (array length=n_matches): a newly allocated array of strings,
+ * Returns: (nullable) (transfer full) (array length=n_matches): a newly allocated array of strings,
  *   or %NULL if none of the regexes matched
  *
  * Since: 0.62


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]