From 7e3e2bf29a52a27cb42072af64f546cecf8fb967 Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro Date: Wed, 23 Jun 2010 15:52:59 +0200 Subject: [PATCH] Fix annotation of gtk_text_iter_(forward/backward)_search. --- gtk/gtktextiter.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index 752db11f6d..c31277105d 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -4583,8 +4583,8 @@ strbreakup (const char *string, * @iter: start of search * @str: a search string * @flags: flags affecting how the search is done - * @match_start: (allow-none): return location for start of match, or %NULL - * @match_end: (allow-none): return location for end of match, or %NULL + * @match_start: (out caller-allocates) (allow-none): return location for start of match, or %NULL + * @match_end: (out caller-allocates) (allow-none): return location for end of match, or %NULL * @limit: (allow-none): bound for the search, or %NULL for the end of the buffer * * Searches forward for @str. Any match is returned by setting @@ -4880,8 +4880,8 @@ lines_window_free (LinesWindow *win) * @iter: a #GtkTextIter where the search begins * @str: search string * @flags: bitmask of flags affecting the search - * @match_start: (allow-none): return location for start of match, or %NULL - * @match_end: (allow-none): return location for end of match, or %NULL + * @match_start: (out caller-allocates) (allow-none): return location for start of match, or %NULL + * @match_end: (out caller-allocates) (allow-none): return location for end of match, or %NULL * @limit: (allow-none): location of last possible @match_start, or %NULL for start of buffer * * Same as gtk_text_iter_forward_search(), but moves backward.