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/oldcore/gstaggregator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/oldcore/gstaggregator.c') diff --git a/gst/oldcore/gstaggregator.c b/gst/oldcore/gstaggregator.c index 86d42543..d8dad7e2 100644 --- a/gst/oldcore/gstaggregator.c +++ b/gst/oldcore/gstaggregator.c @@ -161,7 +161,7 @@ gst_aggregator_class_init (GstAggregatorClass * klass) } static void -gst_aggregator_init (GstAggregator * aggregator) +gst_aggregator_init (GstAggregator * aggregator, GstAggregatorClass * g_class) { aggregator->srcpad = gst_pad_new_from_template (gst_static_pad_template_get (&srctemplate), -- cgit