[libwnck/wip/muktupavels/gtk4] wnckprop: don't pass commandline arguments to gtk_init
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/gtk4] wnckprop: don't pass commandline arguments to gtk_init
- Date: Sun, 21 May 2017 00:00:28 +0000 (UTC)
commit c024926e6e949c689b9b428c4f3807f831b35b07
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun May 21 02:33:43 2017 +0300
wnckprop: don't pass commandline arguments to gtk_init
libwnck/wnckprop.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libwnck/wnckprop.c b/libwnck/wnckprop.c
index c5023da..84b3c18 100644
--- a/libwnck/wnckprop.c
+++ b/libwnck/wnckprop.c
@@ -1904,8 +1904,6 @@ main (int argc, char **argv)
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
g_option_context_add_group (ctxt, group);
- g_option_context_add_group (ctxt, gtk_get_option_group (TRUE));
-
error = NULL;
if (!g_option_context_parse (ctxt, &argc, &argv, &error))
{
@@ -1921,7 +1919,7 @@ main (int argc, char **argv)
if (!validate_options ())
return 1;
- gtk_init (&argc, &argv);
+ gtk_init ();
wnck_set_client_type (WNCK_CLIENT_TYPE_PAGER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]