summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2012-06-20 09:13:11 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2012-06-20 09:13:11 +0100
commit286e7e28e8d25eabe69fb20842d560648aac916b (patch)
treef4f648c9154667001b392ddb00a7c679f35df764
parent3ad550200390388955b373503137f52ad5e3e271 (diff)
downloadclutter-286e7e28e8d25eabe69fb20842d560648aac916b.tar.gz
Remove duplicate typedefs
Redefining typedefs is allowed by C11 and by a GCC extension, but Clang doesn't really like it.
-rw-r--r--clutter/clutter-types.h2
-rw-r--r--clutter/deprecated/clutter-animation.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/clutter/clutter-types.h b/clutter/clutter-types.h
index cd31e9b07..89f201f73 100644
--- a/clutter/clutter-types.h
+++ b/clutter/clutter-types.h
@@ -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;
diff --git a/clutter/deprecated/clutter-animation.h b/clutter/deprecated/clutter-animation.h
index fec7e6e28..4c6aa8bb6 100644
--- a/clutter/deprecated/clutter-animation.h
+++ b/clutter/deprecated/clutter-animation.h
@@ -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;