[libepc] gtk4: Adapt calls to gtk_init() and gtk_init_check().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc] gtk4: Adapt calls to gtk_init() and gtk_init_check().
- Date: Fri, 17 Mar 2017 20:42:58 +0000 (UTC)
commit 24299ddf3a9e6499c22178bca8bd3b48ccefd857
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Mar 17 21:42:42 2017 +0100
gtk4: Adapt calls to gtk_init() and gtk_init_check().
examples/publisher-ui.c | 2 +-
examples/server-credentials.c | 2 +-
tests/test-progress-hooks.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/examples/publisher-ui.c b/examples/publisher-ui.c
index 807e90c..c794a47 100644
--- a/examples/publisher-ui.c
+++ b/examples/publisher-ui.c
@@ -778,7 +778,7 @@ main (int argc,
g_set_application_name ("Easy Publisher Example");
- gtk_init (&argc, &argv);
+ gtk_init ();
builder = gtk_builder_new ();
load_ui (argv[0]);
diff --git a/examples/server-credentials.c b/examples/server-credentials.c
index 8f0efc2..f11c387 100644
--- a/examples/server-credentials.c
+++ b/examples/server-credentials.c
@@ -19,7 +19,7 @@ main (int argc,
/* Initialize GTK+ and gnutls
*/
gnutls_global_init ();
- gtk_init (&argc, &argv);
+ gtk_init ();
/* Show a progress window when generating new keys.
*/
diff --git a/tests/test-progress-hooks.c b/tests/test-progress-hooks.c
index e69c70d..82e96dd 100644
--- a/tests/test-progress-hooks.c
+++ b/tests/test-progress-hooks.c
@@ -143,7 +143,7 @@ main (int argc,
break;
case 3:
- if (!gtk_init_check (&argc, &argv))
+ if (!gtk_init_check ())
{
g_warning ("Cannot initialize UI");
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]