From 2ef9f6835236fe4ffadc8457c556f1534658378f 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. --- ext/cdaudio/gstcdaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/cdaudio') diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c index 069191f4..e36bc2c2 100644 --- a/ext/cdaudio/gstcdaudio.c +++ b/ext/cdaudio/gstcdaudio.c @@ -199,7 +199,7 @@ gst_cdaudio_class_init (GstCDAudioClass * klass) } static void -gst_cdaudio_init (GstCDAudio * cdaudio) +gst_cdaudio_init (GstCDAudio * cdaudio, GstCDAudioClass * g_class) { cdaudio->device = g_strdup ("/dev/cdrom"); cdaudio->was_playing = FALSE; -- cgit v1.2.1