diff --git a/clutter/clutter-behaviour.h b/clutter/clutter-behaviour.h index 32a596f6b..129c6fb65 100644 --- a/clutter/clutter-behaviour.h +++ b/clutter/clutter-behaviour.h @@ -30,8 +30,6 @@ #ifndef __CLUTTER_BEHAVIOUR_H__ #define __CLUTTER_BEHAVIOUR_H__ -#include -#include #include G_BEGIN_DECLS @@ -60,7 +58,6 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_CLASS ((obj), \ CLUTTER_TYPE_BEHAVIOUR, ClutterBehaviourClass)) -typedef struct _ClutterBehaviour ClutterBehaviour; typedef struct _ClutterBehaviourPrivate ClutterBehaviourPrivate; typedef struct _ClutterBehaviourClass ClutterBehaviourClass; diff --git a/clutter/clutter-path.h b/clutter/clutter-path.h index 2351e58e0..6d625129f 100644 --- a/clutter/clutter-path.h +++ b/clutter/clutter-path.h @@ -28,9 +28,8 @@ #ifndef __CLUTTER_PATH_H__ #define __CLUTTER_PATH_H__ -#include -#include #include +#include G_BEGIN_DECLS @@ -75,7 +74,6 @@ typedef enum { CLUTTER_PATH_REL_CURVE_TO = CLUTTER_PATH_CURVE_TO | CLUTTER_PATH_RELATIVE } ClutterPathNodeType; -typedef struct _ClutterPath ClutterPath; typedef struct _ClutterPathClass ClutterPathClass; typedef struct _ClutterPathPrivate ClutterPathPrivate; typedef struct _ClutterPathNode ClutterPathNode; diff --git a/clutter/clutter-types.h b/clutter/clutter-types.h index 6659e086f..2df3766dd 100644 --- a/clutter/clutter-types.h +++ b/clutter/clutter-types.h @@ -47,20 +47,24 @@ typedef struct _ClutterChildMeta ClutterChildMeta; typedef struct _ClutterLayoutMeta ClutterLayoutMeta; typedef struct _ClutterActorMeta ClutterActorMeta; +typedef struct _ClutterAlpha ClutterAlpha; typedef struct _ClutterAnimator ClutterAnimator; +typedef struct _ClutterPath ClutterPath; typedef struct _ClutterAction ClutterAction; typedef struct _ClutterConstraint ClutterConstraint; typedef struct _ClutterEffect ClutterEffect; -#if !defined(CLUTTER_DISABLE_DEPRECATED) || defined(CLUTTER_COMPILATION) -typedef struct _ClutterShader ClutterShader; -#endif - typedef struct _ClutterColor ClutterColor; typedef union _ClutterEvent ClutterEvent; +#if !defined(CLUTTER_DISABLE_DEPRECATED) || defined(CLUTTER_COMPILATION) +typedef struct _ClutterBehaviour ClutterBehaviour; + +typedef struct _ClutterShader ClutterShader; +#endif /* DISABLE_DEPRECATED */ + /** * ClutterGravity: * @CLUTTER_GRAVITY_NONE: Do not apply any gravity diff --git a/clutter/deprecated/clutter-behaviour-depth.c b/clutter/deprecated/clutter-behaviour-depth.c index 61512cfda..91acb5bb0 100644 --- a/clutter/deprecated/clutter-behaviour-depth.c +++ b/clutter/deprecated/clutter-behaviour-depth.c @@ -27,8 +27,8 @@ #include "config.h" #endif +#include "clutter-behaviour.h" #include "clutter-behaviour-depth.h" - #include "clutter-enum-types.h" #include "clutter-main.h" #include "clutter-debug.h" diff --git a/clutter/deprecated/clutter-behaviour-depth.h b/clutter/deprecated/clutter-behaviour-depth.h index 81f0cd35c..4ee2f83f8 100644 --- a/clutter/deprecated/clutter-behaviour-depth.h +++ b/clutter/deprecated/clutter-behaviour-depth.h @@ -30,8 +30,7 @@ #ifndef __CLUTTER_BEHAVIOUR_DEPTH__ #define __CLUTTER_BEHAVIOUR_DEPTH__ -#include -#include +#include G_BEGIN_DECLS diff --git a/clutter/deprecated/clutter-behaviour-ellipse.c b/clutter/deprecated/clutter-behaviour-ellipse.c index 126746540..aafbc6e48 100644 --- a/clutter/deprecated/clutter-behaviour-ellipse.c +++ b/clutter/deprecated/clutter-behaviour-ellipse.c @@ -50,8 +50,8 @@ #include #include +#include "clutter-behaviour.h" #include "clutter-behaviour-ellipse.h" - #include "clutter-debug.h" #include "clutter-enum-types.h" #include "clutter-private.h" diff --git a/clutter/deprecated/clutter-behaviour-ellipse.h b/clutter/deprecated/clutter-behaviour-ellipse.h index 302d4f200..8dffa869d 100644 --- a/clutter/deprecated/clutter-behaviour-ellipse.h +++ b/clutter/deprecated/clutter-behaviour-ellipse.h @@ -28,9 +28,6 @@ #ifndef __CLUTTER_BEHAVIOUR_ELLIPSE_H__ #define __CLUTTER_BEHAVIOUR_ELLIPSE_H__ -#include -#include -#include #include G_BEGIN_DECLS diff --git a/clutter/deprecated/clutter-behaviour-opacity.c b/clutter/deprecated/clutter-behaviour-opacity.c index 91dbb6b5a..5cc3899e2 100644 --- a/clutter/deprecated/clutter-behaviour-opacity.c +++ b/clutter/deprecated/clutter-behaviour-opacity.c @@ -42,8 +42,8 @@ #include +#include "clutter-behaviour.h" #include "clutter-behaviour-opacity.h" - #include "clutter-private.h" #include "clutter-debug.h" diff --git a/clutter/deprecated/clutter-behaviour-opacity.h b/clutter/deprecated/clutter-behaviour-opacity.h index aa38ddb9b..b6519aab8 100644 --- a/clutter/deprecated/clutter-behaviour-opacity.h +++ b/clutter/deprecated/clutter-behaviour-opacity.h @@ -30,8 +30,7 @@ #ifndef __CLUTTER_BEHAVIOUR_OPACITY_H__ #define __CLUTTER_BEHAVIOUR_OPACITY_H__ -#include -#include +#include G_BEGIN_DECLS diff --git a/clutter/deprecated/clutter-behaviour-path.c b/clutter/deprecated/clutter-behaviour-path.c index 8b271f50f..30c5380f7 100644 --- a/clutter/deprecated/clutter-behaviour-path.c +++ b/clutter/deprecated/clutter-behaviour-path.c @@ -67,8 +67,8 @@ #include "config.h" #endif +#include "clutter-behaviour.h" #include "clutter-behaviour-path.h" - #include "clutter-bezier.h" #include "clutter-debug.h" #include "clutter-enum-types.h" diff --git a/clutter/deprecated/clutter-behaviour-path.h b/clutter/deprecated/clutter-behaviour-path.h index 731aebddf..fe15c3e50 100644 --- a/clutter/deprecated/clutter-behaviour-path.h +++ b/clutter/deprecated/clutter-behaviour-path.h @@ -30,8 +30,7 @@ #ifndef __CLUTTER_BEHAVIOUR_PATH_H__ #define __CLUTTER_BEHAVIOUR_PATH_H__ -#include -#include +#include #include G_BEGIN_DECLS diff --git a/clutter/deprecated/clutter-behaviour-rotate.c b/clutter/deprecated/clutter-behaviour-rotate.c index faeb30cd7..0ab5da67c 100644 --- a/clutter/deprecated/clutter-behaviour-rotate.c +++ b/clutter/deprecated/clutter-behaviour-rotate.c @@ -39,10 +39,10 @@ #include "config.h" #endif -#include "clutter-behaviour-rotate.h" - #include +#include "clutter-behaviour.h" +#include "clutter-behaviour-rotate.h" #include "clutter-debug.h" #include "clutter-enum-types.h" #include "clutter-main.h" diff --git a/clutter/deprecated/clutter-behaviour-rotate.h b/clutter/deprecated/clutter-behaviour-rotate.h index c30aef9b5..df880a562 100644 --- a/clutter/deprecated/clutter-behaviour-rotate.h +++ b/clutter/deprecated/clutter-behaviour-rotate.h @@ -28,8 +28,6 @@ #ifndef __CLUTTER_BEHAVIOUR_ROTATE_H__ #define __CLUTTER_BEHAVIOUR_ROTATE_H__ -#include -#include #include G_BEGIN_DECLS diff --git a/clutter/deprecated/clutter-behaviour-scale.c b/clutter/deprecated/clutter-behaviour-scale.c index 337a4902b..82a3b0e6c 100644 --- a/clutter/deprecated/clutter-behaviour-scale.c +++ b/clutter/deprecated/clutter-behaviour-scale.c @@ -41,8 +41,8 @@ #include +#include "clutter-behaviour.h" #include "clutter-behaviour-scale.h" - #include "clutter-debug.h" #include "clutter-main.h" #include "clutter-private.h" diff --git a/clutter/deprecated/clutter-behaviour-scale.h b/clutter/deprecated/clutter-behaviour-scale.h index 288b1a73e..3479c7c37 100644 --- a/clutter/deprecated/clutter-behaviour-scale.h +++ b/clutter/deprecated/clutter-behaviour-scale.h @@ -30,7 +30,7 @@ #ifndef __CLUTTER_BEHAVIOUR_SCALE_H__ #define __CLUTTER_BEHAVIOUR_SCALE_H__ -#include +#include G_BEGIN_DECLS