diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktextiter.c | 5 | ||||
-rw-r--r-- | gtk/gtktreemodelsort.c | 7 | ||||
-rw-r--r-- | gtk/gtktreeselection.c | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index bb30ed0bb..4d980b7c3 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -4322,8 +4322,9 @@ strbreakup (const char *string, * @match_end: return location for end of match, or %NULL * @limit: bound for the search, or %NULL for the end of the buffer * - * Searches forward for @str. Any match is returned as the range - * @match_start, @match_end. The search will not continue past + * Searches forward for @str. Any match is returned by setting + * @match_start to the first character of the match and @match_end to the + * first character after the match. The search will not continue past * @limit. Note that a search is a linear or O(n) operation, so you * may wish to use @limit to avoid locking up your UI on large * buffers. diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c index fb6aee381..99ba15aec 100644 --- a/gtk/gtktreemodelsort.c +++ b/gtk/gtktreemodelsort.c @@ -1937,9 +1937,10 @@ gtk_tree_model_sort_convert_child_iter_to_iter (GtkTreeModelSort *tree_model_sor * @tree_model_sort: A #GtkTreeModelSort * @sorted_path: A #GtkTreePath to convert * - * Converts @sort_path to a path on the child model of @tree_model_sort. That - * is, @sort_path points ot a location in @tree_model_sort. The returned path - * will point to the same location in the model not being sorted. If @path does not point to a + * Converts @sorted_path to a path on the child model of @tree_model_sort. That + * is, @sorted_path points to a location in @tree_model_sort. The returned path + * will point to the same location in the model not being sorted. If @sorted_path + * does not point to a location in the child model, %NULL is returned. * * Return value: A newly allocated #GtkTreePath, or %NULL **/ diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index 7236376f1..951b50947 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -992,7 +992,7 @@ gtk_tree_selection_select_range (GtkTreeSelection *selection, /* Called internally by gtktreeview.c It handles actually selecting the tree. */ -/** +/* * docs about the 'override_browse_mode', we set this flag when we want to * unset select the node and override the select browse mode behaviour (that is * 'one node should *always* be selected'). |