[Bug 739662] gstobject: Add gst_object_has_parent()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 14 22:54:56 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=739662

--- Comment #17 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Given the proposed options:
# check if object has a specific parent
gboolean gst_object_has_object_as_parent (GstObject *self, GstObject * parent)
gboolean gst_object_check_parent (GstObject *self, GstObject * parent)
gboolean gst_object_has_this_parent (GstObject *self, GstObject * parent)
gboolean gst_object_compare_parent (GstObject *self, GstObject * parent)
gboolean gst_object_has_as_parent (GstObject *self, GstObject * parent)

this one
gboolean gst_object_has_as_parent (GstObject *self, GstObject * parent)
sound best for me. We could add a FIXME-2.X for 
gst_object_has_ancestor () to be renamed to gst_object_has_as_ancestor () to
maintain symmetry.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list