[goocanvasmm] init(): Remove the parameters.



commit 8cfa3f3a78adc0115ebad9d1b5576613845a3c78
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Oct 26 13:24:04 2011 +0200

    init(): Remove the parameters.
    
    * goocanvas/goocanvasmm/init.[h|cc]: Remove the (unused) parameters from
    init().

 ChangeLog                     |    7 +++++++
 goocanvas/goocanvasmm/init.cc |    2 +-
 goocanvas/goocanvasmm/init.h  |    2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f3f8c69..a421f9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-10-26  Murray Cumming  <murrayc murrayc com>
 
+	init(): Remove the parameters.
+
+	* goocanvas/goocanvasmm/init.[h|cc]: Remove the (unused) parameters from 
+	init().
+
+2011-10-26  Murray Cumming  <murrayc murrayc com>
+
 	Fix the --enable-warnings=fatal build.
 
 	* goocanvas/goocanvasmm/init.cc:  Do not include glibmm.h. It is not necessary.
diff --git a/goocanvas/goocanvasmm/init.cc b/goocanvas/goocanvasmm/init.cc
index 307448f..aaf06d2 100644
--- a/goocanvas/goocanvasmm/init.cc
+++ b/goocanvas/goocanvasmm/init.cc
@@ -28,7 +28,7 @@
 namespace Goocanvas
 {
 
-void init(const Glib::ustring& /* app_id */, const Glib::ustring& /* version */, int /* nargs */, gchar * /* args */[])
+void init()
 {
   Glib::init(); //Sets up the g type system and the Glib::wrap() table.
   wrap_init(); //Tells the Glib::wrap() table about the libgnomecanvasmm classes.
diff --git a/goocanvas/goocanvasmm/init.h b/goocanvas/goocanvasmm/init.h
index 5d7ff0b..a9e2e3d 100644
--- a/goocanvas/goocanvasmm/init.h
+++ b/goocanvas/goocanvasmm/init.h
@@ -26,7 +26,7 @@ namespace Goocanvas
 {
 
 //TODO: Remove these paramters.
-void init(const Glib::ustring& app_id, const Glib::ustring& version, int nargs, gchar *args[]);
+void init();
 
 } //namespace Goocanvas
 



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