diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-11-14 12:33:33 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-11-14 12:33:33 +0000 |
commit | 5cbfd21fe5c984eec2b9e1e49179afb5931fb61b (patch) | |
tree | cd88bfbddbcc550e3804f1fa85d669a8576519c1 /sys/dvb/gstdvbsrc.h | |
parent | e9d741454d467a44cc04de99c33f5a101baa2a96 (diff) | |
download | gst-plugins-bad-5cbfd21fe5c984eec2b9e1e49179afb5931fb61b.tar.gz gst-plugins-bad-5cbfd21fe5c984eec2b9e1e49179afb5931fb61b.tar.bz2 gst-plugins-bad-5cbfd21fe5c984eec2b9e1e49179afb5931fb61b.zip |
sys/dvb/gstdvbsrc.*: Fix minor printf format issue; remove overly paranoid checks in create function; fix GObject boi...
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_create):
* sys/dvb/gstdvbsrc.h:
Fix minor printf format issue; remove overly paranoid checks in
create function; fix GObject boilerplate macros.
Diffstat (limited to 'sys/dvb/gstdvbsrc.h')
-rw-r--r-- | sys/dvb/gstdvbsrc.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dvb/gstdvbsrc.h b/sys/dvb/gstdvbsrc.h index 4c1ecccd..e9756a67 100644 --- a/sys/dvb/gstdvbsrc.h +++ b/sys/dvb/gstdvbsrc.h @@ -5,11 +5,7 @@ #include <gst/gst.h> #include <gst/base/gstpushsrc.h> -#ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ - +G_BEGIN_DECLS typedef enum { @@ -36,10 +32,10 @@ extern "C" #define GST_DVBSRC(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DVBSRC,GstDvbSrc)) #define GST_DVBSRC_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DVBSRC,GstDvbSrc)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DVBSRC,GstDvbSrcClass)) #define GST_IS_DVBSRC(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DVBSRC)) -#define GST_IS_DVBSRC_CLASS(obj) \ +#define GST_IS_DVBSRC_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DVBSRC)) typedef struct _GstDvbSrc GstDvbSrc; @@ -95,8 +91,6 @@ extern "C" GType gst_dvbsrc_get_type (void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __GST_DVBSRC_H__ */ |