Remove duplicate typedefs

Redefining typedefs is allowed by C11 and by a GCC extension, but Clang
doesn't really like it.
This commit is contained in:
Emmanuele Bassi 2012-06-20 09:13:11 +01:00
parent 3ad5502003
commit 286e7e28e8
2 changed files with 0 additions and 3 deletions

View File

@ -89,8 +89,6 @@ typedef struct _ClutterAlpha ClutterAlpha;
typedef struct _ClutterAnimation ClutterAnimation;
typedef struct _ClutterAnimator ClutterAnimator;
typedef struct _ClutterState ClutterState;
typedef struct _ClutterBehaviour ClutterBehaviour;
typedef struct _ClutterShader ClutterShader;
typedef union _ClutterEvent ClutterEvent;

View File

@ -40,7 +40,6 @@ G_BEGIN_DECLS
#define CLUTTER_IS_ANIMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_ANIMATION))
#define CLUTTER_ANIMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_ANIMATION, ClutterAnimationClass))
typedef struct _ClutterAnimation ClutterAnimation;
typedef struct _ClutterAnimationPrivate ClutterAnimationPrivate;
typedef struct _ClutterAnimationClass ClutterAnimationClass;