From bb28316de65eb1ba44c7f8302d287f2f2c5dc900 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sat, 16 Sep 2006 22:14:36 +0000 Subject: [PATCH] More G_OBJECT macro fixing. Original commit message from CVS: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/wavpack/gstwavpackenc.h: * ext/xine/xineaudiodec.c: * ext/xine/xineaudiosink.c: * ext/xine/xineinput.c: * gst/chart/gstchart.c: * gst/equalizer/gstiirequalizer.c: * gst/games/gstpuzzle.c: * gst/librfb/gstrfbsrc.c: * gst/mixmatrix/mixmatrix.c: * gst/nsf/gstnsf.h: * gst/vbidec/gstvbidec.c: * gst/virtualdub/gstxsharpen.c: More G_OBJECT macro fixing. --- ChangeLog | 19 +++++++++++++++++++ ext/hermes/gsthermescolorspace.c | 2 +- ext/ivorbis/vorbisfile.c | 2 +- ext/lcs/gstcolorspace.c | 2 +- ext/wavpack/gstwavpackenc.h | 2 +- ext/xine/xineaudiodec.c | 2 +- ext/xine/xineaudiosink.c | 2 +- ext/xine/xineinput.c | 2 +- gst/chart/gstchart.c | 2 +- gst/equalizer/gstiirequalizer.c | 2 +- gst/games/gstpuzzle.c | 2 +- gst/librfb/gstrfbsrc.c | 2 +- gst/mixmatrix/mixmatrix.c | 2 +- gst/nsf/gstnsf.h | 2 +- gst/vbidec/gstvbidec.c | 2 +- gst/virtualdub/gstxsharpen.c | 2 +- 16 files changed, 34 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee2bdb7bb6..0854c4e7cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2006-09-17 Stefan Kost + + * ext/hermes/gsthermescolorspace.c: + * ext/ivorbis/vorbisfile.c: + * ext/lcs/gstcolorspace.c: + * ext/wavpack/gstwavpackenc.h: + * ext/xine/xineaudiodec.c: + * ext/xine/xineaudiosink.c: + * ext/xine/xineinput.c: + * gst/chart/gstchart.c: + * gst/equalizer/gstiirequalizer.c: + * gst/games/gstpuzzle.c: + * gst/librfb/gstrfbsrc.c: + * gst/mixmatrix/mixmatrix.c: + * gst/nsf/gstnsf.h: + * gst/vbidec/gstvbidec.c: + * gst/virtualdub/gstxsharpen.c: + More G_OBJECT macro fixing. + 2006-09-15 Edgard Lima * sys/v4l2/gstv4l2src.c: diff --git a/ext/hermes/gsthermescolorspace.c b/ext/hermes/gsthermescolorspace.c index 17359e2c4e..cf13504ed9 100644 --- a/ext/hermes/gsthermescolorspace.c +++ b/ext/hermes/gsthermescolorspace.c @@ -33,7 +33,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstHermesColorspace)) #define GST_IS_COLORSPACE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_COLORSPACE)) -#define GST_IS_COLORSPACE_CLASS(obj) \ +#define GST_IS_COLORSPACE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_COLORSPACE)) typedef struct _GstHermesColorspace GstHermesColorspace; diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 627a1d6748..82743bd184 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -37,7 +37,7 @@ GST_DEBUG_CATEGORY_STATIC (ivorbisfile_debug); (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IVORBISFILE,IvorbisfileClass)) #define GST_IS_IVORBISFILE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IVORBISFILE)) -#define GST_IS_IVORBISFILE_CLASS(obj) \ +#define GST_IS_IVORBISFILE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IVORBISFILE)) typedef struct _Ivorbisfile Ivorbisfile; diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c index 98ef92ddf9..2299aaf4ba 100644 --- a/ext/lcs/gstcolorspace.c +++ b/ext/lcs/gstcolorspace.c @@ -33,7 +33,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstColorspace)) #define GST_IS_COLORSPACE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_COLORSPACE)) -#define GST_IS_COLORSPACE_CLASS(obj) \ +#define GST_IS_COLORSPACE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_COLORSPACE)) typedef struct _GstColorspace GstColorspace; diff --git a/ext/wavpack/gstwavpackenc.h b/ext/wavpack/gstwavpackenc.h index 0925b08aeb..df57f670cb 100644 --- a/ext/wavpack/gstwavpackenc.h +++ b/ext/wavpack/gstwavpackenc.h @@ -37,7 +37,7 @@ G_BEGIN_DECLS (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_WAVPACK_ENC,GstWavpackEnc)) #define GST_IS_WAVPACK_ENC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_WAVPACK_ENC)) -#define GST_IS_WAVPACK_ENC_CLASS(obj) \ +#define GST_IS_WAVPACK_ENC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_WAVPACK_ENC)) typedef struct _GstWavpackEnc GstWavpackEnc; diff --git a/ext/xine/xineaudiodec.c b/ext/xine/xineaudiodec.c index b001c83e1c..1fa3623c2c 100644 --- a/ext/xine/xineaudiodec.c +++ b/ext/xine/xineaudiodec.c @@ -32,7 +32,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_XINE_AUDIO_DEC,GstXineAudioDecClass)) #define GST_IS_XINE_AUDIO_DEC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_XINE_AUDIO_DEC)) -#define GST_IS_XINE_AUDIO_DEC_CLASS(obj) \ +#define GST_IS_XINE_AUDIO_DEC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_XINE_AUDIO_DEC)) GType gst_xine_audio_dec_get_type (void); diff --git a/ext/xine/xineaudiosink.c b/ext/xine/xineaudiosink.c index c85e7bf7af..c47fb96290 100644 --- a/ext/xine/xineaudiosink.c +++ b/ext/xine/xineaudiosink.c @@ -33,7 +33,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_XINE_AUDIO_SINK,GstXineAudioSinkClass)) #define GST_IS_XINE_AUDIO_SINK(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_XINE_AUDIO_SINK)) -#define GST_IS_XINE_AUDIO_SINK_CLASS(obj) \ +#define GST_IS_XINE_AUDIO_SINK_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_XINE_AUDIO_SINK)) GType gst_xine_audio_sink_get_type (void); diff --git a/ext/xine/xineinput.c b/ext/xine/xineinput.c index b5b7f0e007..4f300e3981 100644 --- a/ext/xine/xineinput.c +++ b/ext/xine/xineinput.c @@ -33,7 +33,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_XINE_INPUT,GstXineInputClass)) #define GST_IS_XINE_INPUT(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_XINE_INPUT)) -#define GST_IS_XINE_INPUT_CLASS(obj) \ +#define GST_IS_XINE_INPUT_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_XINE_INPUT)) GType gst_xine_input_get_type (void); diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index a94cb6fb50..d5531e7a90 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -28,7 +28,7 @@ #define GST_CHART(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CHART,GstChart)) #define GST_CHART_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CHART,GstChart)) #define GST_IS_CHART(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CHART)) -#define GST_IS_CHART_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CHART)) +#define GST_IS_CHART_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CHART)) typedef struct _GstChart GstChart; typedef struct _GstChartClass GstChartClass; diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index 54f0720a61..1b3689fd5b 100644 --- a/gst/equalizer/gstiirequalizer.c +++ b/gst/equalizer/gstiirequalizer.c @@ -38,7 +38,7 @@ typedef struct _GstIirEqualizerClass GstIirEqualizerClass; (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IIR_EQUALIZER,GstIirEqualizerClass)) #define GST_IS_IIR_EQUALIZER(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IIR_EQUALIZER)) -#define GST_IS_IIR_EQUALIZER_CLASS(obj) \ +#define GST_IS_IIR_EQUALIZER_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IIR_EQUALIZER)) #define LOWEST_FREQ (20.0) diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c index b802ffa361..5283b6b760 100644 --- a/gst/games/gstpuzzle.c +++ b/gst/games/gstpuzzle.c @@ -36,7 +36,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PUZZLE,GstPuzzleClass)) #define GST_IS_PUZZLE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PUZZLE)) -#define GST_IS_PUZZLE_CLASS(obj) \ +#define GST_IS_PUZZLE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PUZZLE)) typedef struct _GstPuzzle GstPuzzle; diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index 6f22f98570..85dfe35618 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -39,7 +39,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RFBSRC,GstRfbsrc)) #define GST_IS_RFBSRC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RFBSRC)) -#define GST_IS_RFBSRC_CLASS(obj) \ +#define GST_IS_RFBSRC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RFBSRC)) typedef struct _GstRfbsrc GstRfbsrc; diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index aa2495c19a..392cb139d9 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -34,7 +34,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MIXMATRIX,GstMixMatrix)) #define GST_IS_MIXMATRIX(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MIXMATRIX)) -#define GST_IS_MIXMATRIX_CLASS(obj) \ +#define GST_IS_MIXMATRIX_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MIXMATRIX)) typedef struct _GstMixMatrix GstMixMatrix; diff --git a/gst/nsf/gstnsf.h b/gst/nsf/gstnsf.h index c80f4e9857..47b4737539 100644 --- a/gst/nsf/gstnsf.h +++ b/gst/nsf/gstnsf.h @@ -37,7 +37,7 @@ G_BEGIN_DECLS (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NSFDEC,GstNsfDec)) #define GST_IS_NSFDEC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NSFDEC)) -#define GST_IS_NSFDEC_CLASS(obj) \ +#define GST_IS_NSFDEC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NSFDEC)) typedef struct _GstNsfDec GstNsfDec; diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c index 2e220e36d2..4f16e99d81 100644 --- a/gst/vbidec/gstvbidec.c +++ b/gst/vbidec/gstvbidec.c @@ -37,7 +37,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VBIDEC,GstVBIDec)) #define GST_IS_VBIDEC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VBIDEC)) -#define GST_IS_VBIDEC_CLASS(obj) \ +#define GST_IS_VBIDEC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VBIDEC)) //typedef struct _GstVBIDec GstVBIDec; diff --git a/gst/virtualdub/gstxsharpen.c b/gst/virtualdub/gstxsharpen.c index 87b6e7dd38..78be520fcf 100644 --- a/gst/virtualdub/gstxsharpen.c +++ b/gst/virtualdub/gstxsharpen.c @@ -31,7 +31,7 @@ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstXsharpen)) #define GST_IS_XSHARPEN(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_XSHARPEN)) -#define GST_IS_XSHARPEN_CLASS(obj) \ +#define GST_IS_XSHARPEN_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_XSHARPEN)) typedef struct _GstXsharpen GstXsharpen;