[cluttermm] PathConstraint: Correct the signa.



commit de31885e67e768b8a5595eca45061c110022b636
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Mar 28 09:31:21 2014 +0100

    PathConstraint: Correct the signa.
    
    * clutter/src/path-constraint: The node-reached signal sends a
      guint, not an int, and it cannot have a default signal handler
      because the struct is hidden.

 clutter/src/path-constraint.hg |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter/src/path-constraint.hg b/clutter/src/path-constraint.hg
index b680179..654a554 100644
--- a/clutter/src/path-constraint.hg
+++ b/clutter/src/path-constraint.hg
@@ -61,7 +61,8 @@ public:
   _WRAP_PROPERTY("offset", float)
   _WRAP_PROPERTY("path", Glib::RefPtr<Path>)
 
-  _WRAP_SIGNAL(void node_reached(const Glib::RefPtr<Actor> actor, int index), "node-reached")
+  //We use NO_DEFAULT_HANDLER because the ClutterPathConstraint struct definition is hidden.
+  _WRAP_SIGNAL(void node_reached(const Glib::RefPtr<Actor> actor, guint index), "node-reached", 
no_default_handler)
 };
 
 } // namespace Clutter


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