[cluttermm] DeformEffect: Add get_back_material().



commit 05476bf20e4adf920081330d1908010219539f49
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Apr 15 10:09:42 2014 +0200

    DeformEffect: Add get_back_material().

 clutter/src/deform-effect.hg |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/clutter/src/deform-effect.hg b/clutter/src/deform-effect.hg
index 7e84972..bab8f2b 100644
--- a/clutter/src/deform-effect.hg
+++ b/clutter/src/deform-effect.hg
@@ -37,12 +37,8 @@ public:
   //TODO IM: Cant see anywhere the Cogl stuff is wrapped.
   _WRAP_METHOD(void set_back_material(CoglHandle material), clutter_deform_effect_set_back_material)
 
-  //TODO IM: compile error
-  /*deform-effect.cc: In member function 'void* Clutter::DeformEffect::get_back_material()':
-  error: 'CoglHandle {aka void*}' is not a pointer-to-object type
-     retvalue->reference(); //The function does not do a ref for us.
- */
-  //_WRAP_METHOD(CoglHandle get_back_material(),
+  //TODO: Wrap Cogl?
+  _WRAP_METHOD(CoglHandle get_back_material(), clutter_deform_effect_get_back_material)
 
   _WRAP_METHOD(void set_n_tiles(guint x_tiles, guint y_tiles), clutter_deform_effect_set_n_tiles)
   _WRAP_METHOD(void get_n_tiles(guint&  x_tiles, guint& y_tiles) const, clutter_deform_effect_get_n_tiles)


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