Deprecate ClutterBehaviour and sub-classes
The Behaviour class and its implementations have been replaced by the new animation framework API and by the constraints for layout-related animations. Currently, we need to make tests build, so we undef DISABLE_DEPRECATED in specific test cases while they get ported.
This commit is contained in:
@ -36,6 +36,8 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#ifndef CLUTTER_DISABLE_DEPRECATED
|
||||
|
||||
#define CLUTTER_TYPE_BEHAVIOUR_PATH (clutter_behaviour_path_get_type ())
|
||||
|
||||
#define CLUTTER_BEHAVIOUR_PATH(obj) \
|
||||
@ -69,6 +71,9 @@ typedef struct _ClutterBehaviourPathClass ClutterBehaviourPathClass;
|
||||
* and should be accessed using the provided API
|
||||
*
|
||||
* Since: 0.2
|
||||
*
|
||||
* Deprecated: 1.6: Use #ClutterPathConstraint and clutter_actor_animate()
|
||||
* instead.
|
||||
*/
|
||||
struct _ClutterBehaviourPath
|
||||
{
|
||||
@ -85,6 +90,8 @@ struct _ClutterBehaviourPath
|
||||
* The #ClutterBehaviourPathClass struct contains only private data
|
||||
*
|
||||
* Since: 0.2
|
||||
*
|
||||
* Deprecated: 1.6
|
||||
*/
|
||||
struct _ClutterBehaviourPathClass
|
||||
{
|
||||
@ -121,6 +128,8 @@ void clutter_behaviour_path_set_path (ClutterBehaviourPath *pat
|
||||
|
||||
ClutterPath * clutter_behaviour_path_get_path (ClutterBehaviourPath *pathb);
|
||||
|
||||
#endif /* CLUTTER_DISABLE_DEPRECATED */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CLUTTER_BEHAVIOUR_PATH_H__ */
|
||||
|
Reference in New Issue
Block a user