[gtksourceviewmm] tests: Adapt to changed Gtk::Application::create().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] tests: Adapt to changed Gtk::Application::create().
- Date: Fri, 31 Mar 2017 10:14:56 +0000 (UTC)
commit 2ff91bc4101dbe3563552ede8204097924e62617
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Mar 31 12:14:15 2017 +0200
tests: Adapt to changed Gtk::Application::create().
tests/basic/main.cc | 5 ++---
tests/completion/main.cc | 5 ++---
tests/get_buffer/main.cc | 4 ++--
tests/langs/main.cc | 5 ++---
tests/search/main.cc | 3 +--
5 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/tests/basic/main.cc b/tests/basic/main.cc
index f87c1f2..0ab6bc2 100644
--- a/tests/basic/main.cc
+++ b/tests/basic/main.cc
@@ -7,11 +7,10 @@ using namespace Gtk ;
using namespace Gsv;
int
-main (int a_argc, char *a_argv[])
+main ()
{
Glib::RefPtr<Gtk::Application> app =
- Gtk::Application::create(a_argc, a_argv,
- "org.gtksourceviewmm.test");
+ Gtk::Application::create("org.gtksourceviewmm.test");
Gsv::init () ;
diff --git a/tests/completion/main.cc b/tests/completion/main.cc
index c705279..6718a96 100644
--- a/tests/completion/main.cc
+++ b/tests/completion/main.cc
@@ -223,11 +223,10 @@ void TestWindow::show_icons_toggled()
}
int
-main (int argc, char *argv[])
+main ()
{
Glib::RefPtr<Gtk::Application> app =
- Gtk::Application::create(argc, argv,
- "org.gtksourceviewmm.test");
+ Gtk::Application::create("org.gtksourceviewmm.test");
Gsv::init();
TestWindow window;
diff --git a/tests/get_buffer/main.cc b/tests/get_buffer/main.cc
index 1e230e9..672688d 100644
--- a/tests/get_buffer/main.cc
+++ b/tests/get_buffer/main.cc
@@ -3,10 +3,10 @@
#include <gtksourceviewmm.h>
int
-main (int argc, char* argv[])
+main ()
{
Glib::RefPtr<Gtk::Application> app =
- Gtk::Application::create(argc, argv,
+ Gtk::Application::create(
"org.gtksourceviewmm.test");
Gsv::init () ;
diff --git a/tests/langs/main.cc b/tests/langs/main.cc
index 4573fc5..f3819de 100644
--- a/tests/langs/main.cc
+++ b/tests/langs/main.cc
@@ -8,11 +8,10 @@ using namespace std ;
using namespace Gsv ;
int
-main (int argc, char **argv)
+main ()
{
Glib::RefPtr<Gtk::Application> app =
- Gtk::Application::create(argc, argv,
- "org.gtksourceviewmm.test");
+ Gtk::Application::create("org.gtksourceviewmm.test");
Gsv::init ();
diff --git a/tests/search/main.cc b/tests/search/main.cc
index 4bab065..582fed7 100644
--- a/tests/search/main.cc
+++ b/tests/search/main.cc
@@ -363,8 +363,7 @@ int
main (int argc, char **argv)
{
Glib::RefPtr<Gtk::Application> gtkmmapp =
- Gtk::Application::create(argc, argv,
- "org.gtksourceviewmm.test");
+ Gtk::Application::create("org.gtksourceviewmm.test");
Gsv::init () ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]