gst/gstobject.c: Corrected the registration of the parent-set and parent-unset signals: The parameter is a GstObject,...

Original commit message from CVS:
Patch by: Murray Cumming  <murrayc@murrayc.com>
* gst/gstobject.c:
Corrected the registration of the parent-set and parent-unset
signals: The parameter is a GstObject, not a GObject.
This commit is contained in:
Murray Cumming 2007-11-04 10:13:33 +00:00 committed by Tim-Philipp Müller
parent 4e121ae147
commit 565d3bd2af
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Murray Cumming <murrayc@murrayc.com>
* gst/gstobject.c:
Corrected the registration of the parent-set and parent-unset
signals: The parameter is a GstObject, not a GObject.
2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
* gst/gst_private.h:

View file

@ -217,7 +217,7 @@ gst_object_class_init (GstObjectClass * klass)
gst_object_signals[PARENT_SET] =
g_signal_new ("parent-set", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstObjectClass, parent_set), NULL, NULL,
g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT);
g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_OBJECT);
/**
* GstObject::parent-unset:
@ -229,7 +229,7 @@ gst_object_class_init (GstObjectClass * klass)
gst_object_signals[PARENT_UNSET] =
g_signal_new ("parent-unset", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstObjectClass, parent_unset), NULL,
NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_OBJECT);
NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_OBJECT);
#ifndef GST_DISABLE_LOADSAVE
/**