Commit b410aeac authored by Murray Cumming's avatar Murray Cumming

Actor: Correct some deprecation advice.

parent 83e6fd12
......@@ -277,11 +277,11 @@ _DEPRECATE_IFDEF_END
_WRAP_METHOD(Glib::RefPtr<Actor> get_last_child(), clutter_actor_get_last_child, refreturn)
_WRAP_METHOD(Glib::RefPtr<const Actor> get_last_child() const, clutter_actor_get_last_child, refreturn, constversion)
_WRAP_METHOD(void set_parent(const Glib::RefPtr<Actor>& parent), clutter_actor_set_parent, deprecated "Use clutter_actor_add_child() instead.")
_WRAP_METHOD(void set_parent(const Glib::RefPtr<Actor>& parent), clutter_actor_set_parent, deprecated "Use add_child() instead.")
_WRAP_METHOD(Glib::RefPtr<Actor> get_parent(), clutter_actor_get_parent, refreturn)
_WRAP_METHOD(Glib::RefPtr<const Actor> get_parent() const, clutter_actor_get_parent, refreturn, constversion)
_WRAP_METHOD(void reparent(const Glib::RefPtr<Actor>& new_parent), clutter_actor_reparent, deprecated "Use remove_child() and add_child() instead.")
_WRAP_METHOD(void unparent(), clutter_actor_unparent, deprecated "Use clutter_actor_remove_child() instead.")
_WRAP_METHOD(void unparent(), clutter_actor_unparent, deprecated "Use remove_child() instead.")
_WRAP_METHOD(bool contains(const Glib::RefPtr<const Actor>& descendant) const, clutter_actor_contains)
_WRAP_METHOD(void raise(const Glib::RefPtr<Actor>& below), clutter_actor_raise, deprecated "Use set_child_above_sibling() instead.")
_WRAP_METHOD(void lower(const Glib::RefPtr<Actor>& above), clutter_actor_lower, deprecated "Use set_child_below_sibling() instead")
......@@ -402,7 +402,7 @@ _DEPRECATE_IFDEF_END
_WRAP_METHOD(void set_scale(double scale_x, double scale_y), clutter_actor_set_scale)
_WRAP_METHOD(void set_scale_z(double scale_z), clutter_actor_set_scale_z)
_WRAP_METHOD(void set_scale_full(double scale_x, double scale_y, float center_x, float center_y), clutter_actor_set_scale_full, deprecated "Use set_pivot_point() to control the scale center.")
_WRAP_METHOD(void set_scale_with_gravity(double scale_x, double scale_y, Gravity gravity), clutter_actor_set_scale_with_gravity, deprecated "Use clutter_actor_set_pivot_point() to set the scale center using normalized coordinates instead.")
_WRAP_METHOD(void set_scale_with_gravity(double scale_x, double scale_y, Gravity gravity), clutter_actor_set_scale_with_gravity, deprecated "Use set_pivot_point() to set the scale center using normalized coordinates instead.")
_WRAP_METHOD(void get_scale(double& scale_x, double& scale_y) const, clutter_actor_get_scale)
_WRAP_METHOD(double get_scale_z() const, clutter_actor_get_scale_z)
_WRAP_METHOD(void get_scale_center(float& center_x, float& center_y) const, clutter_actor_get_scale_center, deprecated "Use get_pivot_point() instead.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment