[goocanvasmm] Adapt to changed Gtk::Application::create().



commit 652ac30b0a904a4bcda5bc66f8daf2da7799d67b
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Mar 31 14:29:21 2017 +0200

    Adapt to changed Gtk::Application::create().

 examples/coordinates/main.cc    |    4 ++--
 examples/custom_item/main.cc    |    4 ++--
 examples/demo/main.cc           |    4 ++--
 examples/drag_to_canvas/main.cc |    4 ++--
 examples/moving_shapes/main.cc  |    4 ++--
 examples/simple/main.cc         |    4 ++--
 examples/table/main.cc          |    4 ++--
 examples/tablemodel/main.cc     |    4 ++--
 examples/text/main.cc           |    4 ++--
 9 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/examples/coordinates/main.cc b/examples/coordinates/main.cc
index be6b6ca..bf7fc80 100644
--- a/examples/coordinates/main.cc
+++ b/examples/coordinates/main.cc
@@ -17,9 +17,9 @@
 #include <gtkmm.h>
 #include "window.h"
 
-int main(int argc, char* argv[])
+int main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow win;
diff --git a/examples/custom_item/main.cc b/examples/custom_item/main.cc
index b86ff5c..589c336 100644
--- a/examples/custom_item/main.cc
+++ b/examples/custom_item/main.cc
@@ -19,9 +19,9 @@
 #include "examplewindow.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow sw ;
diff --git a/examples/demo/main.cc b/examples/demo/main.cc
index b1323fe..4584f15 100644
--- a/examples/demo/main.cc
+++ b/examples/demo/main.cc
@@ -20,9 +20,9 @@
 #include "window.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   DemoWindow sw ;
diff --git a/examples/drag_to_canvas/main.cc b/examples/drag_to_canvas/main.cc
index b86ff5c..589c336 100644
--- a/examples/drag_to_canvas/main.cc
+++ b/examples/drag_to_canvas/main.cc
@@ -19,9 +19,9 @@
 #include "examplewindow.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow sw ;
diff --git a/examples/moving_shapes/main.cc b/examples/moving_shapes/main.cc
index 6012ebf..df5c13e 100644
--- a/examples/moving_shapes/main.cc
+++ b/examples/moving_shapes/main.cc
@@ -18,9 +18,9 @@
 #include "window.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   Window w ;
diff --git a/examples/simple/main.cc b/examples/simple/main.cc
index b86ff5c..589c336 100644
--- a/examples/simple/main.cc
+++ b/examples/simple/main.cc
@@ -19,9 +19,9 @@
 #include "examplewindow.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow sw ;
diff --git a/examples/table/main.cc b/examples/table/main.cc
index a2969d4..c2ae1d3 100644
--- a/examples/table/main.cc
+++ b/examples/table/main.cc
@@ -19,9 +19,9 @@
 #include "examplewindow.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow sw;
diff --git a/examples/tablemodel/main.cc b/examples/tablemodel/main.cc
index b86ff5c..589c336 100644
--- a/examples/tablemodel/main.cc
+++ b/examples/tablemodel/main.cc
@@ -19,9 +19,9 @@
 #include "examplewindow.h"
 
 int
-main(int argc, char* argv[])
+main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow sw ;
diff --git a/examples/text/main.cc b/examples/text/main.cc
index be6b6ca..bf7fc80 100644
--- a/examples/text/main.cc
+++ b/examples/text/main.cc
@@ -17,9 +17,9 @@
 #include <gtkmm.h>
 #include "window.h"
 
-int main(int argc, char* argv[])
+int main()
 {
-  auto app = Gtk::Application::create(argc, argv);
+  auto app = Gtk::Application::create();
   Goocanvas::init();
 
   ExampleWindow win;


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