summaryrefslogtreecommitdiffstats
path: root/gst/spectrum/gstspectrum.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-07-20 17:16:48 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-07-20 17:16:48 +0000
commitb9ae42faa44f71e03f8dfb04d6bb738448e26c9a (patch)
treeb5daa88c0640bf7d5b9e69375b9578786d0f00ec /gst/spectrum/gstspectrum.h
parent5f8339431cdf566030798340486a048c85d29795 (diff)
downloadgst-plugins-bad-b9ae42faa44f71e03f8dfb04d6bb738448e26c9a.tar.gz
gst-plugins-bad-b9ae42faa44f71e03f8dfb04d6bb738448e26c9a.tar.bz2
gst-plugins-bad-b9ae42faa44f71e03f8dfb04d6bb738448e26c9a.zip
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.
Diffstat (limited to 'gst/spectrum/gstspectrum.h')
-rw-r--r--gst/spectrum/gstspectrum.h14
1 files changed, 4 insertions, 10 deletions
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 <gst/gst.h>
-#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__ */