From 38d78f48b592deb72ca5065cc90e8793ecea2370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= Date: Thu, 20 Jun 2013 12:09:20 +0200 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtktextiter.c') 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 -- cgit v1.2.1