[glib] gfile: Clarify g_file_get_parent() documentation



commit 76c1f78cb92cdbfe46321da2b2d2ecfbfdf32eaa
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Aug 24 10:38:27 2015 +0100

    gfile: Clarify g_file_get_parent() documentation
    
    Clarify that a parent in this case has to be an immediate parent, not an
    arbitrary ancestor several levels up in the tree.

 gio/gfile.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index bbb0abd..db76aec 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -714,10 +714,10 @@ g_file_get_parent (GFile *file)
  *
  * If @parent is %NULL then this function returns %TRUE if @file has any
  * parent at all.  If @parent is non-%NULL then %TRUE is only returned
- * if @file is a child of @parent.
+ * if @file is an immediate child of @parent.
  *
- * Returns: %TRUE if @file is a child of @parent (or any parent in the
- *          case that @parent is %NULL).
+ * Returns: %TRUE if @file is an immediate child of @parent (or any parent in
+ *          the case that @parent is %NULL).
  *
  * Since: 2.24
  */


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