summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstgldisplay.h
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@gmail.com>2013-07-10 16:03:04 +0100
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:36:57 +0100
commitdd7e054e2c0e7d864fd55cffb8310c9a68fd6385 (patch)
tree79a720402c1f3ea4442cf06d52dd0fbaa3ff1c49 /gst-libs/gst/gl/gstgldisplay.h
parent3c0b9715a958f1184215f794455b73b7c81d4a93 (diff)
downloadgstreamer-plugins-bad-dd7e054e2c0e7d864fd55cffb8310c9a68fd6385.tar.gz
[732/906] build: fix repeated typedefs
Write forward declarations in another way to avoid repeated typedefs "error: redefinition of typedef". Raised when using i686-apple-darwin11-llvm-gcc-4.2 It seems that C apple compiler does not support C11 feature. https://bugzilla.gnome.org/show_bug.cgi?id=703885
Diffstat (limited to 'gst-libs/gst/gl/gstgldisplay.h')
-rw-r--r--gst-libs/gst/gl/gstgldisplay.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/gst-libs/gst/gl/gstgldisplay.h b/gst-libs/gst/gl/gstgldisplay.h
index 3ee6fbc6f..bfe021d5d 100644
--- a/gst-libs/gst/gl/gstgldisplay.h
+++ b/gst-libs/gst/gl/gstgldisplay.h
@@ -24,12 +24,7 @@
#ifndef __GST_GL_DISPLAY_H__
#define __GST_GL_DISPLAY_H__
-#include "gstglconfig.h"
-
-typedef struct _GstGLWindow GstGLWindow;
-
-#include "gstglwindow.h"
-#include "gstglutils.h"
+#include "gstgl_fwd.h"
G_BEGIN_DECLS
@@ -42,10 +37,6 @@ GType gst_gl_display_get_type (void);
#define GST_IS_GL_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_GL_DISPLAY))
#define GST_GL_DISPLAY_CAST(obj) ((GstGLDisplay*)(obj))
-typedef struct _GstGLDisplay GstGLDisplay;
-typedef struct _GstGLDisplayClass GstGLDisplayClass;
-typedef struct _GstGLDisplayPrivate GstGLDisplayPrivate;
-
/**
* GstGLDisplayThreadFunc:
* @display: a #GstGLDisplay