summaryrefslogtreecommitdiff
path: root/gtk/gtktreesortable.c
diff options
context:
space:
mode:
authorSoeren Sandmann <ssp@localhost.localdomain>2002-09-01 12:34:21 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2002-09-01 12:34:21 +0000
commit1f4e829fe2c2210e32e964d1ba4292af5d0eb3a2 (patch)
treeccd1d0c30188dbc78f4c8562d736620993e6d185 /gtk/gtktreesortable.c
parenta0c80fcc67fbdf576d80536db299433cd70ca3f8 (diff)
downloadgtk+-1f4e829fe2c2210e32e964d1ba4292af5d0eb3a2.tar.gz
docs/reference/gtk/tmpl/gtkdialog.sgml
2002-09-01 Soeren Sandmann <ssp@localhost.localdomain> * docs/reference/gtk/tmpl/gtkdialog.sgml docs/reference/gtk/tmpl/gtkhbbox.sgml docs/reference/gtk/tmpl/gtkvbbox.sgml docs/reference/gtk/tmpl/gtktogglebutton.sgml docs/reference/gtk/tmpl/gtktreeselection.sgml gtk/gtktextbuffer.c gtk/gtktogglebutton.c gtk/gtktreesortable.c Minor documentation fixes: #79107, #82854, #76398, Vitaly Tishkov; #88627, Brian Tarricone; #81046, Owen Taylor
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,