summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/video/videosink.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/video/videosink.h')
-rw-r--r--gst-libs/gst/video/videosink.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gst-libs/gst/video/videosink.h b/gst-libs/gst/video/videosink.h
index d1e3aa97..bdf52e15 100644
--- a/gst-libs/gst/video/videosink.h
+++ b/gst-libs/gst/video/videosink.h
@@ -24,9 +24,7 @@
#include <gst/gst.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GST_TYPE_VIDEOSINK (gst_videosink_get_type())
#define GST_VIDEOSINK(obj) \
@@ -68,8 +66,6 @@ struct _GstVideoSinkClass {
GType gst_videosink_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GST_VIDEOSINK_H__ */