[cluttermm] Actor::set_event() Make the event parameter const.



commit d30898a15b6e1962e1f090bc7385dd00d9dcdeaa
Author: Ian Martin <martin_id vodafone co nz>
Date:   Tue Mar 4 22:45:05 2014 +0100

    Actor::set_event() Make the event parameter const.
    
    This matches the change in the underlying C API.
    This API and ABI change is acceptable because cluttermm has
    never been declared API stable.

 clutter/src/actor.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 35b9be3..5b23907 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -247,7 +247,7 @@ public:
   _WRAP_METHOD(void apply_transform_to_point(const Vertex& point, Vertex& vertex) const, 
clutter_actor_apply_transform_to_point)
   _WRAP_METHOD(void transform_stage_point(float x, float y, float& x_out, float& y_out) const, 
clutter_actor_transform_stage_point)
 
-  _WRAP_METHOD(bool event(ClutterEvent* event, bool capture), clutter_actor_event)
+  _WRAP_METHOD(bool event(const ClutterEvent* event, bool capture), clutter_actor_event)
   _WRAP_METHOD(static Glib::RefPtr<Actor> get_actor_by_gid(guint32 id), clutter_get_actor_by_gid, refreturn)
 
   _WRAP_METHOD(void set_anchor_point(float anchor_x, float anchor_y), clutter_actor_set_anchor_point)


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