From b9ae42faa44f71e03f8dfb04d6bb738448e26c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 20 Jul 2005 17:16:48 +0000 Subject: gst/spectrum/gstspectrum.*: Misc. clean-ups; most importantly, add a template to the sink pad, we don't accept any ty... Original commit message from CVS: * gst/spectrum/gstspectrum.c: (gst_spectrum_base_init), (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_set_property), (gst_spectrum_link), (gst_spectrum_chain): * gst/spectrum/gstspectrum.h: Misc. clean-ups; most importantly, add a template to the sink pad, we don't accept any type of data after all. --- gst/spectrum/gstspectrum.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'gst/spectrum/gstspectrum.h') diff --git a/gst/spectrum/gstspectrum.h b/gst/spectrum/gstspectrum.h index 20c6d982..1f25cd09 100644 --- a/gst/spectrum/gstspectrum.h +++ b/gst/spectrum/gstspectrum.h @@ -25,10 +25,7 @@ #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS #define GST_TYPE_SPECTRUM \ (gst_spectrum_get_type()) @@ -47,7 +44,8 @@ typedef struct _GstSpectrumClass GstSpectrumClass; struct _GstSpectrum { GstElement element; - GstPad *sinkpad,*srcpad; + GstPad *sinkpad; + GstPad *srcpad; gint channels; @@ -60,10 +58,6 @@ struct _GstSpectrumClass { GType gst_spectrum_get_type(void); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_SPECTRUM_H__ */ -- cgit v1.2.1