summaryrefslogtreecommitdiff
path: root/gtk/gtktreesortable.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktreesortable.c')
-rw-r--r--gtk/gtktreesortable.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gtk/gtktreesortable.c b/gtk/gtktreesortable.c
index 383b9032fc..7e4ce5ab32 100644
--- a/gtk/gtktreesortable.c
+++ b/gtk/gtktreesortable.c
@@ -151,7 +151,7 @@ gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable,
*
* Sets the comparison function used when sorting to be @sort_func. If the
* current sort column id of @sortable is the same as @sort_column_id, then the
- * model will sort.
+ * model will sort using this function.
**/
void
gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable,
@@ -182,9 +182,12 @@ gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable,
*
* Sets the default comparison function used when sorting to be @sort_func. If
* the current sort column id of @sortable is
- * %GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort. If
- * @sort_func is %NULL, then the default sort_func, and there will be no default
- * sort_func. In this case, the model is unsorted.
+ * %GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function.
+ *
+ * If @sort_func is %NULL, then there will be no default comparison function.
+ * This means that once the model has been sorted, it can't go back to the
+ * default state. In this case, when the current sort column id of @sortable is
+ * GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, the model will be unsorted.
**/
void
gtk_tree_sortable_set_default_sort_func (GtkTreeSortable *sortable,