diff options
author | Priit Laes <plaes@plaes.org> | 2009-10-19 21:59:46 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-10-22 02:03:12 +0100 |
commit | 34a7a90f57a8da2f64a7010d2c9aa61620673655 (patch) | |
tree | 42c797e9d8674c35d42d577540800a356e9c6a6b | |
parent | 45042dffbc14bdb43d95ddcb72da14d85f2adc1b (diff) |
cacasink: minor cleanups for header.
Use G_BEGIN_DECLS macros, remove unused variables and fix typo.
See #599018.
-rw-r--r-- | ext/libcaca/gstcacasink.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/ext/libcaca/gstcacasink.h b/ext/libcaca/gstcacasink.h index 548ca5dac..580567aa2 100644 --- a/ext/libcaca/gstcacasink.h +++ b/ext/libcaca/gstcacasink.h @@ -30,9 +30,7 @@ # include <caca0.h> #endif -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GST_TYPE_CACASINK \ (gst_cacasink_get_type()) @@ -51,9 +49,6 @@ typedef struct _GstCACASinkClass GstCACASinkClass; struct _GstCACASink { GstBaseSink parent; - GstPad *sinkpad; - - gulong format; gint width, height; gint screen_width, screen_height; guint bpp; @@ -72,9 +67,6 @@ struct _GstCACASinkClass { GType gst_cacasink_get_type(void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS -#endif /* __GST_CACASINKE_H__ */ +#endif /* __GST_CACASINK_H__ */ |