summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-11-30 23:40:03 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-11-30 23:40:03 -0500
commit837f398a9b8d4d4f94f0a871e58e134fbcc8640b (patch)
tree34a353b39fe5b880bf8cfb5d91cd19acd204e410 /gtk
parente18211decabc337f9a313352dc6ab3d7c83cbdd9 (diff)
downloadgtk+-837f398a9b8d4d4f94f0a871e58e134fbcc8640b.tar.gz
columnviewcolumn: Improve docs
Mention what setting sorter to NULL means.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkcolumnviewcolumn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcolumnviewcolumn.c b/gtk/gtkcolumnviewcolumn.c
index 51d0388707..fd70a247d1 100644
--- a/gtk/gtkcolumnviewcolumn.c
+++ b/gtk/gtkcolumnviewcolumn.c
@@ -742,6 +742,9 @@ gtk_column_view_column_remove_from_sorter (GtkColumnViewColumn *self)
*
* Associates a sorter with the column.
*
+ * If @sorter is %NULL, the column will not let users change
+ * the sorting by clicking on its header.
+ *
* This sorter can be made active by clicking on the column
* header, or by calling gtk_column_view_sort_by_column().
*