[gtk/wip/otte/listview: 178/183] xxx sorter



commit e7353bb18159e4f1607a1249e10bdc361aa0c5b0
Author: Benjamin Otte <otte redhat com>
Date:   Tue Dec 10 06:02:06 2019 +0100

    xxx sorter

 gtk/gtksorter.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtksorter.h b/gtk/gtksorter.h
index 8a897bf2a9..1033e3bbc2 100644
--- a/gtk/gtksorter.h
+++ b/gtk/gtksorter.h
@@ -57,13 +57,19 @@ typedef enum {
  * @GTK_SORTER_CHANGE_INVERTED: The sort order was inverted. Comparisons
  *     that returned %GTK_ORDERING_SMALLER now return %GTK_ORDERING_LARGER
  *     and vice versa. Other comparisons return the same values as before.
+ * @GTK_SORTER_CHANGE_LESS_STRICT: The sorter is less strict: Comparisons
+ *     may now return %GTK_ORDERING_EQUAL that did not do so before.
+ * @GTK_SORTER_CHANGE_MORE_STRICT: The sorter is more strict: Comparisons
+ *     that did return %GTK_ORDERING_EQUAL may not do so anymore.
  *
  * Describes changes in a sorter in more detail and allows users
  * to optimize resorting.
  */
 typedef enum {
   GTK_SORTER_CHANGE_DIFFERENT,
-  GTK_SORTER_CHANGE_INVERTED
+  GTK_SORTER_CHANGE_INVERTED,
+  GTK_SORTER_CHANGE_LESS_STRICT,
+  GTK_SORTER_CHANGE_MORE_STRICT
 } GtkSorterChange;
 
 #define GTK_TYPE_SORTER             (gtk_sorter_get_type ())


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