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:
parent
3ad5502003
commit
286e7e28e8
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user