[gtk+/gtk-2-22] Fix annotation of gtk_text_iter_(forward/backward)_search. (cherry picked from commit 7e3e2bf29a52a2
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Fix annotation of gtk_text_iter_(forward/backward)_search. (cherry picked from commit 7e3e2bf29a52a2
- Date: Sat, 26 Jun 2010 20:32:00 +0000 (UTC)
commit eb1ec05da384bb215e842726f93993763dfd7afe
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jun 23 15:52:59 2010 +0200
Fix annotation of gtk_text_iter_(forward/backward)_search.
(cherry picked from commit 7e3e2bf29a52a27cb42072af64f546cecf8fb967)
gtk/gtktextiter.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index aa5fbc4..5167cda 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -4571,8 +4571,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
@@ -4868,8 +4868,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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]