[gtk/matthiasc/for-master: 5/16] sorter: Some doc corrections
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 5/16] sorter: Some doc corrections
- Date: Sun, 28 Jun 2020 17:07:01 +0000 (UTC)
commit 334f95479bcbc504f051106752aa9e754238c7c4
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 28 12:39:48 2020 -0400
sorter: Some doc corrections
The docs were referring to some non-existing enum value.
Fix things up to match the current code.
gtk/gtksorter.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtksorter.h b/gtk/gtksorter.h
index 5a997a7c84..9dc78f20db 100644
--- a/gtk/gtksorter.h
+++ b/gtk/gtksorter.h
@@ -31,12 +31,9 @@ G_BEGIN_DECLS
/**
* GtkSorterOrder:
- * @GTK_SORTER_ORDER_PARTIAL: A partial order. And #GtkOrdering is possible.
- * @GTK_SORTER_ORDER_INVALID: An invalid order. gtk_sorter_compare() will
- * always return %GTK_ORDERING_INVALID if both items are unequal.
+ * @GTK_SORTER_ORDER_PARTIAL: A partial order. Any #GtkOrdering is possible.
* @GTK_SORTER_ORDER_NONE: No order, all elements are considered equal.
- * gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL or
- * %GTK_ORDERING_INVALID.
+ * gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL.
* @GTK_SORTER_ORDER_TOTAL: A total order. gtk_sorter_compare() will only
* return %GTK_ORDERING_EQUAL if an item is compared with itself. Two
* different items will never cause this value to be returned.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]