From 99fc32962a35d65cce34a5f59948502eee1ac6b4 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 28 Aug 2005 17:59:20 +0000 Subject: Updates for two-arg init from GST_BOILERPLATE. Original commit message from CVS: 2005-08-28 Andy Wingo * Updates for two-arg init from GST_BOILERPLATE. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use the second arg for the class, because G_OBJECT_GET_CLASS (self) returns the wrong thing. (gst_signal_processor_add_pad_from_template): Make pads of the right type. * ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make writable param specs G_PARAM_CONSTRUCT so default values work. (gst_ladspa_init): Use the second arg for the class. --- gst/debug/progressreport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst/debug/progressreport.c') diff --git a/gst/debug/progressreport.c b/gst/debug/progressreport.c index 9d8a232c..023991cd 100644 --- a/gst/debug/progressreport.c +++ b/gst/debug/progressreport.c @@ -128,7 +128,8 @@ gst_progressreport_class_init (GstProgressReportClass * g_class) } static void -gst_progressreport_init (GstProgressReport * instance) +gst_progressreport_init (GstProgressReport * instance, + GstProgressReportClass * g_class) { GstProgressReport *progressreport = GST_PROGRESSREPORT (instance); @@ -274,7 +275,7 @@ gst_progressreport_chain (GstPad * pad, GstData * _data) } gboolean -gst_progressreport_plugin_init (GstPlugin * plugin) +gst_progressreport_plugin_init (GstPlugin * plugin, GstPluginClass * g_class) { return gst_element_register (plugin, "progressreport", GST_RANK_NONE, GST_TYPE_PROGRESSREPORT); -- cgit