docs: give a practical example for the gst_object_has_anchestor

This commit is contained in:
Stefan Kost 2010-09-06 17:01:19 +03:00
parent cc0171d5cd
commit dd5e14f983

View file

@ -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.
* *