[clutter-gtkmm: 1/3] Fixed the build with the latest cluttermm.



commit 05c0e667fb78b3ddf3be0d633e972db41dce435c
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jun 25 16:10:02 2009 +0200

    Fixed the build with the latest cluttermm.

 ChangeLog                |    6 ++++++
 NEWS                     |    4 ++++
 configure.in             |    2 +-
 examples/events/event.cc |    8 ++++----
 4 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0b063f0..43d605a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+0.9.4:
+
+2009-06-25  Murray Cumming  <murrayc murrayc com>
+
+	* examples/events/event.cc: Fixed the build with the latest cluttermm.
+
 0.9.3:
 
 2009-05-15  Murray Cumming  <murrayc murrayc com>
diff --git a/NEWS b/NEWS
index 3447584..54a0c12 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+0.9.4:
+
+* Fixed the build (examples) for the latest cluttermm.
+
 0.9.3:
 
 * Updated for latest clutter-gtk.
diff --git a/configure.in b/configure.in
index 8da2dee..0d61ba5 100644
--- a/configure.in
+++ b/configure.in
@@ -5,7 +5,7 @@ AC_INIT(clutter-gtk/clutter-gtkmm-config.h.in)
 #########################################################################
 CLUTTER_GTKMM_MAJOR_VERSION=0
 CLUTTER_GTKMM_MINOR_VERSION=9
-CLUTTER_GTKMM_MICRO_VERSION=3
+CLUTTER_GTKMM_MICRO_VERSION=4
 
 #
 # +1 : ? : +1  == new interface that does not break old one
diff --git a/examples/events/event.cc b/examples/events/event.cc
index 84b5a21..0c188dc 100644
--- a/examples/events/event.cc
+++ b/examples/events/event.cc
@@ -44,8 +44,8 @@ Event::Event()
     g_error("Unable to load pixbuf\n");
 
   m_stage->add_actor(m_hand);
-  guint width = 0;
-  guint height = 0;
+  float width = 0;
+  float height = 0;
   m_hand->get_size(width, height);
   m_hand->set_position((CLUTTER_STAGE_WIDTH()/2) - (width/2), (CLUTTER_STAGE_HEIGHT()/2) - (height/2));
   m_hand->set_reactive();
@@ -105,8 +105,8 @@ bool Event::on_stage_capture(Clutter::Event* event)
 {
   if(event->type == CLUTTER_BUTTON_RELEASE)
   {
-    int x = 0;
-    int y = 0;
+    float x = 0;
+    float y = 0;
     clutter_event_get_coords(event, &x, &y);
 
     std::cout << "Event captured at (" << x << ", " << y << ")" << std::endl;



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