mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
Change the marshalilng of element_added/element_removed signals to use gst_marshal_VOID__OBJECT over gst_marshal_VOID...
Original commit message from CVS: Change the marshalilng of element_added/element_removed signals to use gst_marshal_VOID__OBJECT over gst_marshal_VOID__POINTER
This commit is contained in:
parent
15a286a3ec
commit
de0c9fba96
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_class_init):
|
||||
Change the marshalling of element_added/element_removed
|
||||
to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
|
||||
complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
|
||||
|
||||
2004-01-01 David Schleef <ds@schleef.org>
|
||||
|
||||
* gst/gstpad.c: (gst_pad_set_explicit_caps),
|
||||
|
|
|
@ -135,11 +135,11 @@ gst_bin_class_init (GstBinClass * klass)
|
|||
gst_bin_signals[ELEMENT_ADDED] =
|
||||
g_signal_new ("element_added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (GstBinClass, element_added), NULL, NULL,
|
||||
gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
|
||||
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
|
||||
gst_bin_signals[ELEMENT_REMOVED] =
|
||||
g_signal_new ("element_removed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST,
|
||||
G_STRUCT_OFFSET (GstBinClass, element_removed), NULL, NULL,
|
||||
gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
|
||||
gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
|
||||
gst_bin_signals[ITERATE] =
|
||||
g_signal_new ("iterate", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GstBinClass, iterate),
|
||||
|
|
Loading…
Reference in a new issue