[cluttermm] Actors example: Use the init() that takes an OptionContext.



commit b2014528bad5da4f6730136c8397dc85e860d27f
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Apr 17 09:28:57 2014 +0200

    Actors example: Use the init() that takes an OptionContext.

 examples/test-actors.cc |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/examples/test-actors.cc b/examples/test-actors.cc
index d720025..831ef95 100644
--- a/examples/test-actors.cc
+++ b/examples/test-actors.cc
@@ -97,11 +97,8 @@ int main(int argc, char *argv[])
 
   try
   {
-    // TODO: Pass context to init as soon as that init() overload has been
-    // uncommented in cluttermm. This depends on a clutter release with
-    // clutter bug #1033 fixed.
     // initialize the C++ wrapper types
-    Clutter::init(&argc, &argv); //, context);
+    Clutter::init(&argc, &argv, context);
   }
   catch(const Glib::Exception& ex)
   {


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