[cluttermm] Actor: Correct some deprecation advice.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] Actor: Correct some deprecation advice.
- Date: Fri, 11 Apr 2014 08:49:12 +0000 (UTC)
commit b410aeac6eb360ce988c96a533a2b9c19643d348
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 11 10:48:32 2014 +0200
Actor: Correct some deprecation advice.
clutter/src/actor.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 403c143..69c47fe 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -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.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]