mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
4de1adb04a
* clutter/clutter-actor.[ch]: Rename clutter_actor_get_id() to clutter_actor_get_gid(). (clutter_actor_set_parent): Use GUINT_TO_POINTER(). * clutter/clutter-deprecated.h: Add a replacement warning for clutter_actor_get_id(). * clutter/clutter-texture.c (texture_upload_data): Use clutter_actor_get_gid(), and don't leak the filename string.
22 lines
1.4 KiB
C
22 lines
1.4 KiB
C
#ifndef _CLUTTER_DEPRECATED_H
|
|
#define _CLUTTER_DEPRECATED_H
|
|
|
|
/* This header contains defines that makes the compiler provide useful
|
|
* direction for resolving compile problems when code is using old APIs
|
|
* When using a function name that no longer applies the compiler will
|
|
* tell the developer the name of the new function call.
|
|
*
|
|
* Functions that are simply renamed should give errors containing
|
|
* _REPLACED_BY_ whilst functions that are deprecated by new functions with
|
|
* new * functionality should giver errors containing _DEPRECATED_BY_.
|
|
*/
|
|
|
|
#define clutter_behaviour_ellipse_set_angle_begin clutter_behaviour_ellipse_set_angle_begin_REPLACED_BY_clutter_behaviour_set_angle_start
|
|
#define clutter_behaviour_ellipse_set_angle_beginx clutter_behaviour_ellipse_set_angle_beginx_REPLACED_BY_clutter_behaviour_set_angle_startx
|
|
#define clutter_behaviour_ellipse_get_angle_begin clutter_behaviour_ellipse_get_angle_begin_REPLACED_BY_clutter_behaviour_get_angle_start
|
|
#define clutter_behaviour_ellipse_get_angle_beginx clutter_behaviour_ellipse_get_angle_beginx_REPLACED_BY_clutter_behaviour_get_angle_startx
|
|
#define clutter_behaviour_bspline_append clutter_behaviour_bspline_append_REPLACED_BY_clutter_behaviour_bspline_append_knots
|
|
#define clutter_actor_get_id clutter_actor_get_id_REPLACED_BY_clutter_actor_get_gid
|
|
|
|
#endif /* CLUTTER_DEPRECATED_H */
|