[cluttermm] Actor: Corrects the get_children() parameter.



commit 8070963b2f68ab57a488655308e598dde5d9f6b6
Author: Ian Martin <martin_id vodafone co nz>
Date:   Tue Apr 15 07:49:21 2014 +1200

    Actor: Corrects the get_children() parameter.
    
    Returns a list of Glib::RefPtr<Actor>, not Effect.
    Bug #728206.

 clutter/src/actor.hg |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 0b0b80a..02551aa 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -254,11 +254,11 @@ _DEPRECATE_IFDEF_END
   _WRAP_METHOD(void remove_clip(), clutter_actor_remove_clip)
   _WRAP_METHOD(bool has_clip() const, clutter_actor_has_clip)
 
-  #m4 _CONVERSION(`GList*',`std::vector< Glib::RefPtr<Effect> >',`Glib::ListHandler< Glib::RefPtr<Effect> 
::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
-  _WRAP_METHOD(std::vector< Glib::RefPtr<Effect> > get_children(), clutter_actor_get_children)
+  #m4 _CONVERSION(`GList*',`std::vector< Glib::RefPtr<Actor> >',`Glib::ListHandler< Glib::RefPtr<Actor> 
::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
+  _WRAP_METHOD(std::vector< Glib::RefPtr<Actor> > get_children(), clutter_actor_get_children)
 
-  #m4 _CONVERSION(`GList*',`std::vector< Glib::RefPtr<const Effect> >',`Glib::ListHandler< 
Glib::RefPtr<const Effect> >::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
-  _WRAP_METHOD(std::vector< Glib::RefPtr<const Effect> > get_children() const, clutter_actor_get_children)
+  #m4 _CONVERSION(`GList*',`std::vector< Glib::RefPtr<const Actor> >',`Glib::ListHandler< Glib::RefPtr<const 
Actor> >::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
+  _WRAP_METHOD(std::vector< Glib::RefPtr<const Actor> > get_children() const, clutter_actor_get_children)
 
   _WRAP_METHOD(int get_n_children() const, clutter_actor_get_n_children)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]