[cluttermm_tutorial] Finish fixing the build with --enable-warnings=fatal



commit 8c9178cd74decfeb7992b41cd8f9a9b5bc4e1c46
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 13 16:34:32 2010 +0200

    Finish fixing the build with --enable-warnings=fatal
    
    * examples/timeline/main.cc: Comment out another unused parameter.
      I could get this far after fixing a GTKMM-GDKMM typo in gtkmm 2.22.

 ChangeLog                 |    7 +++++++
 examples/timeline/main.cc |    6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 40cc65f..05fe30a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-09-13  Murray Cumming  <murrayc murrayc com>
 
+	Finish fixing the build with --enable-warnings=fatal
+
+	* examples/timeline/main.cc: Comment out another unused parameter.
+  I could get this far after fixing a GTKMM-GDKMM typo in gtkmm 2.22.
+
+2010-09-13  Murray Cumming  <murrayc murrayc com>
+
 	Partly fix the build with --enable-warnings=fatal
 
 	* configure.ac: Add  -Wno-long-long because the clutter headers trigger it.
diff --git a/examples/timeline/main.cc b/examples/timeline/main.cc
index fee8c22..46ef8e0 100644
--- a/examples/timeline/main.cc
+++ b/examples/timeline/main.cc
@@ -25,8 +25,8 @@ static Glib::RefPtr<Clutter::Rectangle> rect;
 static int rotation_angle = 0;
 static int color_change_count = 0;
 
-static void on_timeline_new_frame(int frame_num,
-  Glib::RefPtr<Clutter::Timeline> timeline)
+static void on_timeline_new_frame(int /* frame_num */,
+  Glib::RefPtr<Clutter::Timeline> /* timeline */)
 {
   if(++rotation_angle >= 360)
     rotation_angle = 0;
@@ -71,7 +71,7 @@ int main(int argc, char** argv)
     timeline = Clutter::Timeline::create(5000 /* milliseconds */);
   timeline->signal_new_frame()
     .connect(sigc::bind(&on_timeline_new_frame, timeline));
-  timeline->set_loop(true); 
+  timeline->set_loop(true);
   timeline->start();
 
   // Start the main loop, so we can respond to events:



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