[gtk+] Improve doc of gtk_text_iter_forward_search()



commit 38d78f48b592deb72ca5065cc90e8793ecea2370
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Jun 20 12:09:20 2013 +0200

    Improve doc of gtk_text_iter_forward_search()
    
    It was not possible to know if the @limit was for @match_start or
    @match_end. It was documented for backward_search(), but not for
    forward_search().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=390048

 gtk/gtktextiter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 8a24ae8..4821c62 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -4848,7 +4848,7 @@ strbreakup (const char *string,
  * @flags: flags affecting how the search is done
  * @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
+ * @limit: (allow-none): location of last possible @match_end, or %NULL for the end of the buffer
  *
  * Searches forward for @str. Any match is returned by setting
  * @match_start to the first character of the match and @match_end to the


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