[clutter] Remove duplicate typedefs



commit 286e7e28e8d25eabe69fb20842d560648aac916b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jun 20 09:13:11 2012 +0100

    Remove duplicate typedefs
    
    Redefining typedefs is allowed by C11 and by a GCC extension, but Clang
    doesn't really like it.

 clutter/clutter-types.h                |    2 --
 clutter/deprecated/clutter-animation.h |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter-types.h b/clutter/clutter-types.h
index cd31e9b..89f201f 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 fec7e6e..4c6aa8b 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]