[gtk/prop-list: 23/83] sorter: Small documentation fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/prop-list: 23/83] sorter: Small documentation fixes
- Date: Mon, 23 Dec 2019 05:42:41 +0000 (UTC)
commit b62ebedffca1a68426b2c4b6afb060c662a8c3e3
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 18 22:36:53 2019 -0500
sorter: Small documentation fixes
gtk/gtksorter.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtksorter.c b/gtk/gtksorter.c
index fdfae2bca5..36b8015807 100644
--- a/gtk/gtksorter.c
+++ b/gtk/gtksorter.c
@@ -42,8 +42,8 @@
* gtk_sorter_compare() again.
*
* GTK provides various pre-made sorter implementations for common sorting operations.
- * #GtkColumnView has built-in support for sorting lists via GtkColumnViewColumn::sorter
- * where the user can change the sorting by clicking on list headers.
+ * #GtkColumnView has built-in support for sorting lists via the #GtkColumnViewColumn:sorter
+ * property, where the user can change the sorting by clicking on list headers.
*
* Of course, in particular for large lists, it is also possible to subclass #GtkSorter
* and provide one's own sorter.
@@ -123,10 +123,10 @@ gtk_sorter_init (GtkSorter *self)
* by the sorter.
*
* Sorters implement a partial order:
- * * It is reflexive, ie `a == a`
- * * It is antisymmetric, ie if `a < b` then `b > a`.
- * * It is transitive, ie given any 3 items with `a <= b && b<= c`,
- * then `a <= c`.
+ * * It is reflexive, ie a = a
+ * * It is antisymmetric, ie if a < b and b < a, then a = b
+ * * It is transitive, ie given any 3 items with a ≤ b and b ≤ c,
+ * then a ≤ c
*
* The sorter may signal it conforms to additional constraints
* via the return value of gtk_sorter_get_order().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]