summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-09-06 17:01:19 +0300
committerStefan Kost <ensonic@users.sf.net>2010-09-06 17:02:45 +0300
commitdd5e14f98322f06418ca2ae139c04a7a7f03438e (patch)
treeef254137cfcf6468298f854561068ae3cabb992e
parentcc0171d5cd58ae7b5e90caf133eebe21d1bb08bc (diff)
docs: give a practical example for the gst_object_has_anchestor
-rw-r--r--gst/gstobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstobject.c b/gst/gstobject.c
index 7cdb5dc5e..dabb894e0 100644
--- a/gst/gstobject.c
+++ b/gst/gstobject.c
@@ -921,7 +921,7 @@ gst_object_unparent (GstObject * object)
* @ancestor: a #GstObject to check as ancestor
*
* Check if @object has an ancestor @ancestor somewhere up in
- * the hierarchy.
+ * the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.
*
* Returns: TRUE if @ancestor is an ancestor of @object.
*