object: fix docs

This commit is contained in:
Wim Taymans 2010-12-07 15:19:34 +01:00
parent 99efec3636
commit 7d24f18027
2 changed files with 2 additions and 8 deletions

View file

@ -98,8 +98,6 @@ static GstAllocTrace *_gst_object_trace;
#define DEBUG_REFCOUNT #define DEBUG_REFCOUNT
/* Object signals and args */ /* Object signals and args */
/* FIXME-0.11: have a read-only parent property instead of the two signals
* then we get notify::parent for free */
enum enum
{ {
DEEP_NOTIFY, DEEP_NOTIFY,
@ -631,10 +629,7 @@ gst_object_get_name (GstObject * object)
* @parent: new parent of object * @parent: new parent of object
* *
* Sets the parent of @object to @parent. The object's reference count will * Sets the parent of @object to @parent. The object's reference count will
* be incremented, and any floating reference will be removed (see gst_object_sink()). * be incremented, and any floating reference will be removed (see gst_object_ref_sink()).
*
* This function causes the parent-set signal to be emitted when the parent
* was successfully set.
* *
* Returns: TRUE if @parent could be set or FALSE when @object * Returns: TRUE if @parent could be set or FALSE when @object
* already had a parent or @object and @parent are the same. * already had a parent or @object and @parent are the same.

View file

@ -157,9 +157,8 @@ typedef struct _GstObjectClass GstObjectClass;
* GstObject: * GstObject:
* @lock: object LOCK * @lock: object LOCK
* @name: The name of the object * @name: The name of the object
* @name_prefix: unused
* @parent: this object's parent, weak ref * @parent: this object's parent, weak ref
* @flags: use GST_OBJECT_IS_XXX macros to access the flags * @flags: flags for this object
* *
* GStreamer base object class. * GStreamer base object class.
*/ */