diff --git a/ChangeLog b/ChangeLog index 6081e08195..62bf38382a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-01-03 Jan Schmidt + + * 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 * gst/gstpad.c: (gst_pad_set_explicit_caps), diff --git a/gst/gstbin.c b/gst/gstbin.c index 6ae0242cea..7fd881184a 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -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),