summaryrefslogtreecommitdiff
path: root/gtk/gtktextiter.c
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2013-06-20 12:09:20 +0200
committerSébastien Wilmet <swilmet@gnome.org>2013-06-20 12:39:24 +0200
commit38d78f48b592deb72ca5065cc90e8793ecea2370 (patch)
tree208a5a921e5719d9a2a547fe0c4186a45051f2a8 /gtk/gtktextiter.c
parent0540edcf9c901fc7f0415da3edd289ecd80f452d (diff)
downloadgtk+-38d78f48b592deb72ca5065cc90e8793ecea2370.tar.gz
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
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r--gtk/gtktextiter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 8a24ae87c7..4821c62c48 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