[cluttermm] Fixed reference counting issue in with Alpha::get_timeline



commit eb6359d8c0546fc00487a789a867d454c909c2fd
Author: Chris Kühl <chrisk openismus com>
Date:   Fri Sep 17 11:02:45 2010 +0200

    Fixed reference counting issue in with Alpha::get_timeline
    
          * clutter/src/alpha.hg: Added refreturn to get_timeline.

 clutter/src/alpha.hg |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/alpha.hg b/clutter/src/alpha.hg
index 9dbe609..bb3eba1 100644
--- a/clutter/src/alpha.hg
+++ b/clutter/src/alpha.hg
@@ -54,7 +54,8 @@ public:
   _WRAP_CREATE(const Glib::RefPtr<Timeline>& timeline, gulong mode)
 
   _WRAP_METHOD(void set_timeline(const Glib::RefPtr<Timeline>& timeline), clutter_alpha_set_timeline)
-  _WRAP_METHOD(Glib::RefPtr<Timeline> get_timeline() const, clutter_alpha_get_timeline)
+  _WRAP_METHOD(Glib::RefPtr<Timeline> get_timeline(), clutter_alpha_get_timeline, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Timeline> get_timeline() const, clutter_alpha_get_timeline, refreturn, constversion)
   _WRAP_METHOD(double get_alpha() const, clutter_alpha_get_alpha)
 
   _IGNORE(clutter_alpha_set_func)



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