Change the marshalilng of element_added/element_removed signals to use gst_marshal_VO...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 2 Jan 2004 15:41:08 +0000 (15:41 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 2 Jan 2004 15:41:08 +0000 (15:41 +0000)
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
gst/gstbin.c

index 6081e08195ff442a5d3d8dd16ef2001e4f9a71e6..62bf38382a7465e0ed7e3f261ba9b00588fa9cfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
index 6ae0242ceaa6c1eeb367fd57fefc622a0d15079e..7fd881184a635e6cf2b251fcd5a41522b3eebaf9 100644 (file)
@@ -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),