gnomemm r1527 - in geglmm/trunk: . examples libgegl/libgeglmm



Author: hub
Date: Fri May 23 04:33:51 2008
New Revision: 1527
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1527&view=rev

Log:
	* libgegl/libgeglmm/init.cc:
	* libgegl/libgeglmm/init.h:
	* examples/geglbuffer-add-image.cc:
	* examples/geglbuffer-clock.cc:
	* examples/hello-world.cc:
	* examples/2geglbuffer.cc:
	Gegl::exit().


Modified:
   geglmm/trunk/ChangeLog
   geglmm/trunk/examples/2geglbuffer.cc
   geglmm/trunk/examples/geglbuffer-add-image.cc
   geglmm/trunk/examples/geglbuffer-clock.cc
   geglmm/trunk/examples/hello-world.cc
   geglmm/trunk/libgegl/libgeglmm/init.cc
   geglmm/trunk/libgegl/libgeglmm/init.h

Modified: geglmm/trunk/examples/2geglbuffer.cc
==============================================================================
--- geglmm/trunk/examples/2geglbuffer.cc	(original)
+++ geglmm/trunk/examples/2geglbuffer.cc	Fri May 23 04:33:51 2008
@@ -32,5 +32,7 @@
  
 // New API in 0.0.17.
 //  buffer->save (argv[2]);
+
+  Gegl::exit ();
   return 0;
 }

Modified: geglmm/trunk/examples/geglbuffer-add-image.cc
==============================================================================
--- geglmm/trunk/examples/geglbuffer-add-image.cc	(original)
+++ geglmm/trunk/examples/geglbuffer-add-image.cc	Fri May 23 04:33:51 2008
@@ -52,7 +52,7 @@
   // nothing to do, this is C++ :-)
 
   /* free resources globally used by GEGL */
-//  gegl_exit ();
+  Gegl::exit ();
 
   return 0;
 }

Modified: geglmm/trunk/examples/geglbuffer-clock.cc
==============================================================================
--- geglmm/trunk/examples/geglbuffer-clock.cc	(original)
+++ geglmm/trunk/examples/geglbuffer-clock.cc	Fri May 23 04:33:51 2008
@@ -77,7 +77,7 @@
       }
   }
   /* free resources globally used by GEGL */
-//  gegl_exit ();
+  Gegl::exit ();
 
   return 0;
 }

Modified: geglmm/trunk/examples/hello-world.cc
==============================================================================
--- geglmm/trunk/examples/hello-world.cc	(original)
+++ geglmm/trunk/examples/hello-world.cc	Fri May 23 04:33:51 2008
@@ -88,7 +88,7 @@
   }
 
   /* free resources globally used by GEGL */
-//  Gegl::exit ();
+  Gegl::exit ();
 
   return 0;
 }

Modified: geglmm/trunk/libgegl/libgeglmm/init.cc
==============================================================================
--- geglmm/trunk/libgegl/libgeglmm/init.cc	(original)
+++ geglmm/trunk/libgegl/libgeglmm/init.cc	Fri May 23 04:33:51 2008
@@ -1,23 +1,20 @@
 // -*- c++ -*-
-/* $Id: init.cc 622 2004-03-29 17:59:17Z murrayc $ */
-
-/* init.cc
+/* libgeglmm - a C++ wrapper for libgegl
  *
- * Copyright 2001      Free Software Foundation
+ * (c) 2008 Hubert Figuiere
  *
  * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
+ * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
+ * version 3 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <libgeglmm/init.h>
@@ -38,4 +35,9 @@
 }
 
 
+void exit()
+{
+  gegl_exit();
+}
+
 } //namespace Gegl

Modified: geglmm/trunk/libgegl/libgeglmm/init.h
==============================================================================
--- geglmm/trunk/libgegl/libgeglmm/init.h	(original)
+++ geglmm/trunk/libgegl/libgeglmm/init.h	Fri May 23 04:33:51 2008
@@ -1,25 +1,22 @@
 // -*- c++ -*-
 #ifndef _LIBGEGLMM_INIT_H
 #define _LIBGEGLMM_INIT_H
-/* $Id: init.h 497 2003-10-12 09:50:16Z murrayc $ */
-
-/* init.h
+/* libgeglmm - a C++ wrapper for libgegl
  *
- * Copyright 2001      Free Software Foundation
+ * (c) 2008 Hubert Figuiere
  *
  * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
+ * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
+ * version 3 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <glibmm.h>
@@ -29,6 +26,7 @@
 {
 
 void init(int *nargs, gchar **args[]);
+void exit();
 
 } //namespace Gegl
 



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