[goocanvasmm] examples, tests: Adapt the init() calls.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvasmm] examples, tests: Adapt the init() calls.
- Date: Wed, 26 Oct 2011 12:33:16 +0000 (UTC)
commit 6571b7e18a64c466ec72d9222b510412f06aa315
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 26 14:20:26 2011 +0200
examples, tests: Adapt the init() calls.
* examples/coordinates/main.cc:
* examples/custom_item/main.cc:
* examples/demo/main.cc:
* examples/drag_to_canvas/main.cc:
* examples/moving_shapes/main.cc:
* examples/simple/main.cc:
* examples/table/main.cc:
* examples/tablemodel/main.cc:
* examples/text/main.cc:
* tests/child_properties/main.cc: Remove the extra parameters.
ChangeLog | 15 +++++++++++++++
examples/coordinates/main.cc | 2 +-
examples/custom_item/main.cc | 2 +-
examples/demo/main.cc | 2 +-
examples/drag_to_canvas/main.cc | 2 +-
examples/moving_shapes/main.cc | 2 +-
examples/simple/main.cc | 2 +-
examples/table/main.cc | 2 +-
examples/tablemodel/main.cc | 2 +-
examples/text/main.cc | 2 +-
tests/child_properties/main.cc | 2 +-
11 files changed, 25 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a421f9f..d288034 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
2011-10-26 Murray Cumming <murrayc murrayc com>
+ examples, tests: Adapt the init() calls.
+
+ * examples/coordinates/main.cc:
+ * examples/custom_item/main.cc:
+ * examples/demo/main.cc:
+ * examples/drag_to_canvas/main.cc:
+ * examples/moving_shapes/main.cc:
+ * examples/simple/main.cc:
+ * examples/table/main.cc:
+ * examples/tablemodel/main.cc:
+ * examples/text/main.cc:
+ * tests/child_properties/main.cc: Remove the extra parameters.
+
+2011-10-26 Murray Cumming <murrayc murrayc com>
+
init(): Remove the parameters.
* goocanvas/goocanvasmm/init.[h|cc]: Remove the (unused) parameters from
diff --git a/examples/coordinates/main.cc b/examples/coordinates/main.cc
index 70da243..869e86d 100644
--- a/examples/coordinates/main.cc
+++ b/examples/coordinates/main.cc
@@ -20,7 +20,7 @@
int main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow win;
Gtk::Main::run(win);
diff --git a/examples/custom_item/main.cc b/examples/custom_item/main.cc
index f8207a2..5988746 100644
--- a/examples/custom_item/main.cc
+++ b/examples/custom_item/main.cc
@@ -22,7 +22,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow sw ;
Gtk::Main::run(sw);
diff --git a/examples/demo/main.cc b/examples/demo/main.cc
index 7365cb9..81b2bfd 100644
--- a/examples/demo/main.cc
+++ b/examples/demo/main.cc
@@ -24,7 +24,7 @@ main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
DemoWindow sw ;
Gtk::Main::run(sw);
diff --git a/examples/drag_to_canvas/main.cc b/examples/drag_to_canvas/main.cc
index f8207a2..5988746 100644
--- a/examples/drag_to_canvas/main.cc
+++ b/examples/drag_to_canvas/main.cc
@@ -22,7 +22,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow sw ;
Gtk::Main::run(sw);
diff --git a/examples/moving_shapes/main.cc b/examples/moving_shapes/main.cc
index 0cf8efe..8949b70 100644
--- a/examples/moving_shapes/main.cc
+++ b/examples/moving_shapes/main.cc
@@ -21,7 +21,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
Window w ;
Gtk::Main::run(w);
diff --git a/examples/simple/main.cc b/examples/simple/main.cc
index f8207a2..5988746 100644
--- a/examples/simple/main.cc
+++ b/examples/simple/main.cc
@@ -22,7 +22,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow sw ;
Gtk::Main::run(sw);
diff --git a/examples/table/main.cc b/examples/table/main.cc
index abef62d..c4c8102 100644
--- a/examples/table/main.cc
+++ b/examples/table/main.cc
@@ -22,7 +22,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow sw;
Gtk::Main::run(sw);
diff --git a/examples/tablemodel/main.cc b/examples/tablemodel/main.cc
index f8207a2..5988746 100644
--- a/examples/tablemodel/main.cc
+++ b/examples/tablemodel/main.cc
@@ -22,7 +22,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow sw ;
Gtk::Main::run(sw);
diff --git a/examples/text/main.cc b/examples/text/main.cc
index 70da243..869e86d 100644
--- a/examples/text/main.cc
+++ b/examples/text/main.cc
@@ -20,7 +20,7 @@
int main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("example", "0.1", argc, argv);
+ Goocanvas::init();
ExampleWindow win;
Gtk::Main::run(win);
diff --git a/tests/child_properties/main.cc b/tests/child_properties/main.cc
index f45936d..159a689 100644
--- a/tests/child_properties/main.cc
+++ b/tests/child_properties/main.cc
@@ -23,7 +23,7 @@ int
main(int argc, char* argv[])
{
Gtk::Main app(&argc, &argv);
- Goocanvas::init("goocanvasmm Simple Example", "0.1", argc, argv);
+ Goocanvas::init();
Glib::RefPtr<Goocanvas::Table> table = Goocanvas::Table::create();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]