Annotate deprecated get_type() functions

Even if their usage is limited, it's good to consistently deprecate
functions.
This commit is contained in:
Emmanuele Bassi 2012-05-03 11:35:20 +01:00
parent fcd341d23e
commit 74afe8bbcd
11 changed files with 13 additions and 0 deletions

View File

@ -79,6 +79,7 @@ struct _ClutterBehaviourDepthClass
ClutterBehaviourClass parent_class; ClutterBehaviourClass parent_class;
}; };
CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_depth_get_type (void) G_GNUC_CONST; GType clutter_behaviour_depth_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:depth) CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:depth)

View File

@ -90,6 +90,7 @@ struct _ClutterBehaviourEllipseClass
ClutterBehaviourClass parent_class; ClutterBehaviourClass parent_class;
}; };
CLUTTER_DEPRECATED_IN_1_8
GType clutter_behaviour_ellipse_get_type (void) G_GNUC_CONST; GType clutter_behaviour_ellipse_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_actor_animate) CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_actor_animate)

View File

@ -93,6 +93,7 @@ struct _ClutterBehaviourOpacityClass
ClutterBehaviourClass parent_class; ClutterBehaviourClass parent_class;
}; };
CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_opacity_get_type (void) G_GNUC_CONST; GType clutter_behaviour_opacity_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:opacity) CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:opacity)

View File

@ -106,6 +106,7 @@ struct _ClutterBehaviourPathClass
void (*_clutter_path_4) (void); void (*_clutter_path_4) (void);
}; };
CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_path_get_type (void) G_GNUC_CONST; GType clutter_behaviour_path_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate) CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate)

View File

@ -76,6 +76,7 @@ struct _ClutterBehaviourRotateClass
ClutterBehaviourClass parent_class; ClutterBehaviourClass parent_class;
}; };
CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_rotate_get_type (void) G_GNUC_CONST; GType clutter_behaviour_rotate_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate) CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate)

View File

@ -79,6 +79,7 @@ struct _ClutterBehaviourScaleClass
ClutterBehaviourClass parent_class; ClutterBehaviourClass parent_class;
}; };
CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_scale_get_type (void) G_GNUC_CONST; GType clutter_behaviour_scale_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate with ClutterActor:scale-x and ClutterActor:scale-y) CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate with ClutterActor:scale-x and ClutterActor:scale-y)

View File

@ -134,6 +134,7 @@ struct _ClutterBehaviourClass
void (*_clutter_behaviour6) (void); void (*_clutter_behaviour6) (void);
}; };
CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_get_type (void) G_GNUC_CONST; GType clutter_behaviour_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6 CLUTTER_DEPRECATED_IN_1_6

View File

@ -83,6 +83,7 @@ struct _ClutterBoxClass
void (*clutter_padding_6) (void); void (*clutter_padding_6) (void);
}; };
CLUTTER_DEPRECATED_IN_1_10
GType clutter_box_get_type (void) G_GNUC_CONST; GType clutter_box_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_new) CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_new)

View File

@ -80,6 +80,7 @@ struct _ClutterRectangleClass
void (*_clutter_rectangle4) (void); void (*_clutter_rectangle4) (void);
}; };
CLUTTER_DEPRECATED_IN_1_10
GType clutter_rectangle_get_type (void) G_GNUC_CONST; GType clutter_rectangle_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_new) CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_new)

View File

@ -96,6 +96,7 @@ struct _ClutterScoreClass
void (*_clutter_score_5) (void); void (*_clutter_score_5) (void);
}; };
CLUTTER_DEPRECATED_IN_1_10
GType clutter_score_get_type (void) G_GNUC_CONST; GType clutter_score_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10 CLUTTER_DEPRECATED_IN_1_10

View File

@ -105,7 +105,10 @@ struct _ClutterShaderClass
GObjectClass parent_class; GObjectClass parent_class;
}; };
CLUTTER_DEPRECATED_IN_1_8
GQuark clutter_shader_error_quark (void); GQuark clutter_shader_error_quark (void);
CLUTTER_DEPRECATED_IN_1_8
GType clutter_shader_get_type (void) G_GNUC_CONST; GType clutter_shader_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_8_FOR(ClutterShaderEffect) CLUTTER_DEPRECATED_IN_1_8_FOR(ClutterShaderEffect)