[gtk/filename-sorter] stringsorter: Add more detail to the docs



commit 7ddc5982b7ca7e53e9ff4b5b07e39d62f178fad0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 11 14:03:57 2022 -0400

    stringsorter: Add more detail to the docs
    
    Mention when a collation value of NONE might
    be useful.

 gtk/gtkstringsorter.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtkstringsorter.c b/gtk/gtkstringsorter.c
index 266fc81e55..28cf659036 100644
--- a/gtk/gtkstringsorter.c
+++ b/gtk/gtkstringsorter.c
@@ -335,6 +335,9 @@ gtk_string_sorter_class_init (GtkStringSorterClass *class)
    *
    * The collation method to use for sorting.
    *
+   * The `GTK_COLLATION_NONE` value is useful when the expression already
+   * returns collation keys, or strings that need to be compared byte-by-byte.
+   *
    * Since: 4.10
    */
   properties[PROP_COLLATION] =


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]