Commit dd5e14f9 authored by Stefan Kost's avatar Stefan Kost
Browse files

docs: give a practical example for the gst_object_has_anchestor

parent cc0171d5
...@@ -921,7 +921,7 @@ gst_object_unparent (GstObject * object) ...@@ -921,7 +921,7 @@ gst_object_unparent (GstObject * object)
* @ancestor: a #GstObject to check as ancestor * @ancestor: a #GstObject to check as ancestor
* *
* Check if @object has an ancestor @ancestor somewhere up in * 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. * Returns: TRUE if @ancestor is an ancestor of @object.
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment