From de0c9fba96c685b876c95e4ad5d8d5b0186949b6 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 2 Jan 2004 15:41:08 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ gst/gstbin.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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),