gnomemm r1598 - in cluttermm/trunk: . clutter/cluttermm examples



Author: arminb
Date: Sat Jul  5 17:47:37 2008
New Revision: 1598
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1598&view=rev

Log:
Release 0.7.0

2008-07-05  Armin Burgmeier  <armin openismus com>

	* clutter/cluttermm/init.h:
	* clutter/cluttermm/init.cc: Commented out the init() overload that
	takes a Glib::OptionContext& since for this to work we need a clutter
	release with clutter bug #1033 fixed.

	* clutter/examples/test-actors.cc: Use the normal init() for now,
	don't accepting the -n command line argument.


Modified:
   cluttermm/trunk/ChangeLog
   cluttermm/trunk/NEWS
   cluttermm/trunk/clutter/cluttermm/init.cc
   cluttermm/trunk/clutter/cluttermm/init.h
   cluttermm/trunk/configure.in
   cluttermm/trunk/examples/test-actors.cc

Modified: cluttermm/trunk/NEWS
==============================================================================
--- cluttermm/trunk/NEWS	(original)
+++ cluttermm/trunk/NEWS	Sat Jul  5 17:47:37 2008
@@ -1,3 +1,11 @@
+0.7.0:
+
+* Update to new clutter-0.7 API
+  (Armin Burgmeier, Openismus)
+* Wrap several remaining classes, methods, signals, properties and free
+  functions. Coverage is still not 100%, but not much is missing.
+  (Armin Burgmeier, Openismus)
+
 0.5.1:
 
 * Added cluttermm-gtk, wrapping clutter-gtk.

Modified: cluttermm/trunk/clutter/cluttermm/init.cc
==============================================================================
--- cluttermm/trunk/clutter/cluttermm/init.cc	(original)
+++ cluttermm/trunk/clutter/cluttermm/init.cc	Sat Jul  5 17:47:37 2008
@@ -51,6 +51,10 @@
   init(&argc, &argv);
 }
 
+// TODO: This does not work yet because because of clutter bug #1033. It has
+// already been fixed in trunk but there was no release since. We can
+// uncomment this as soon as clutter with that fix has been released.
+#if 0
 void init(int* argc, gchar** argv[], Glib::OptionContext& option_context)
 {
   common_init();
@@ -66,6 +70,7 @@
 {
   init(&argc, &argv, option_context);
 }
+#endif
 
 void add_clutter_option_group(Glib::OptionContext& option_context)
 {

Modified: cluttermm/trunk/clutter/cluttermm/init.h
==============================================================================
--- cluttermm/trunk/clutter/cluttermm/init.h	(original)
+++ cluttermm/trunk/clutter/cluttermm/init.h	Sat Jul  5 17:47:37 2008
@@ -44,6 +44,10 @@
  */
 void init(int& argc, gchar**& argv);
 
+// TODO: This does not work yet because because of clutter bug #1033. It has
+// already been fixed in trunk but there was no release since. We can
+// uncomment this as soon as clutter with that fix has been released.
+#if 0
 /** It will initialise everything needed to operate with Clutter and parses
  * some standard command line options and the options specified in your
  * @a option_context. Add a Glib::OptionGroup to the Glib::OptionContext to
@@ -67,6 +71,7 @@
  * @throws InitError, Glib::OptionError
  */
 void init(int& argc, char**& argv, Glib::OptionContext& option_context);
+#endif
 
 /** Adds a Glib::OptionGroup for the command line arguments recognized by
  * Clutter to the given context. This is useful if you are using

Modified: cluttermm/trunk/configure.in
==============================================================================
--- cluttermm/trunk/configure.in	(original)
+++ cluttermm/trunk/configure.in	Sat Jul  5 17:47:37 2008
@@ -5,7 +5,7 @@
 #########################################################################
 CLUTTERMM_MAJOR_VERSION=0
 CLUTTERMM_MINOR_VERSION=7
-CLUTTERMM_MICRO_VERSION=1
+CLUTTERMM_MICRO_VERSION=0
 
 #
 # +1 : ? : +1  == new interface that does not break old one

Modified: cluttermm/trunk/examples/test-actors.cc
==============================================================================
--- cluttermm/trunk/examples/test-actors.cc	(original)
+++ cluttermm/trunk/examples/test-actors.cc	Sat Jul  5 17:47:37 2008
@@ -88,10 +88,13 @@
 
     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::Error& ex)
+    catch(const Glib::Exception& ex)
     {
         std::cerr << "Failed to initialize clutter: " << ex.what() << std::endl;
         return -1;



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