[glib] GList: Fix typo of member ->prev in documentation



commit a2ec32833e0b2d1132f25489ad2f572eaba7c641
Author: Daniel Boles <dboles src gnome org>
Date:   Mon Aug 7 20:33:25 2017 +0100

    GList: Fix typo of member ->prev in documentation
    
    It said list->previous, which is not a thing that exists.

 glib/glist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/glist.c b/glib/glist.c
index e0f9453..2b5692e 100644
--- a/glib/glist.c
+++ b/glib/glist.c
@@ -130,7 +130,7 @@
  *
  * A convenience macro to get the previous element in a #GList.
  * Note that it is considered perfectly acceptable to access
- * @list->previous directly.
+ * @list->prev directly.
  *
  * Returns: the previous element, or %NULL if there are no previous
  *          elements


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