[cluttermm] Fix the build with clutter git master.



commit 79e59a94e323c18989f7ec8d2e8b96aa142230d6
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Nov 2 11:50:46 2010 +0100

    Fix the build with clutter git master.
    
    * clutter/src/backend.hg: Use no_default_handler with the signals,
    because ClutterBackendClass is now hidden.

 ChangeLog              |   15 +++++++++++----
 clutter/src/backend.hg |    5 +++--
 2 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 61fcd86..f56c493 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,16 +1,23 @@
+2010-11-02  Murray Cumming  <murrayc murrayc com>
+
+	Fix the build with clutter git master.
+
+	* clutter/src/backend.hg: Use no_default_handler with the signals,
+	because ClutterBackendClass is now hidden.
+
 2010-10-21  Chris Kühl  <chrisk openismus com>
 
 	Fixed parameter names in Clutter::Cairo::Texture create function.
 
-        * cairo-texture.hg: Changed create parameters from width and height
-        to surface_width and surface_height, respectively.
+	* cairo-texture.hg: Changed create parameters from width and height
+	to surface_width and surface_height, respectively.
 
 2010-10-21  Chris Kühl  <chrisk openismus com>
 
 	Fixed parameter names in Clutter::Cairo::Texture ctor.
 
-        * cairo-texture.hg: Changed ctor parameters from width and height
-        to surface_width and surface_height, respectively.
+	* cairo-texture.hg: Changed ctor parameters from width and height
+	o surface_width and surface_height, respectively.
 
 1.3.1:
 
diff --git a/clutter/src/backend.hg b/clutter/src/backend.hg
index 0ea6a1c..160ad2c 100644
--- a/clutter/src/backend.hg
+++ b/clutter/src/backend.hg
@@ -50,8 +50,9 @@ public:
   _WRAP_METHOD(Glib::ustring get_font_name() const, clutter_backend_get_font_name)
   _WRAP_METHOD(void set_font_name(const Glib::ustring& font_name), clutter_backend_set_font_name)
 
-  _WRAP_SIGNAL(void font_changed(), "font-changed")
-  _WRAP_SIGNAL(void resolution_changed(), "resolution-changed")
+  //We use no_default_handler because the C class struct is hidden.
+  _WRAP_SIGNAL(void font_changed(), "font-changed", no_default_handler)
+  _WRAP_SIGNAL(void resolution_changed(), "resolution-changed", no_default_handler)
 };
 
 } // namespace Clutter



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