diff --git a/gst/gstelement.c b/gst/gstelement.c index cc25b55268..97988988bf 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -112,13 +112,13 @@ gst_element_class_init (GstElementClass *klass) gst_element_signals[NEW_PAD] = g_signal_new ("new_pad", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstElementClass, new_pad), NULL, NULL, - gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, - G_TYPE_POINTER); + gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, + G_TYPE_OBJECT); gst_element_signals[PAD_REMOVED] = g_signal_new ("pad_removed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstElementClass, pad_removed), NULL, NULL, - gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, - G_TYPE_POINTER); + gst_marshal_VOID__OBJECT, G_TYPE_NONE, 1, + G_TYPE_OBJECT); gst_element_signals[ERROR] = g_signal_new ("error", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstElementClass, error), NULL, NULL,