[libwnck/wip/muktupavels/gtk4] test-pager: 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] test-pager: don't pass commandline arguments to gtk_init
- Date: Sun, 21 May 2017 00:00:38 +0000 (UTC)
commit 471e045681b77a45c78aa4d0eb270a5461da9c5e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun May 21 02:37:52 2017 +0300
test-pager: don't pass commandline arguments to gtk_init
libwnck/test-pager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/test-pager.c b/libwnck/test-pager.c
index 316b13a..5a30d71 100644
--- a/libwnck/test-pager.c
+++ b/libwnck/test-pager.c
@@ -71,12 +71,11 @@ main (int argc, char **argv)
ctxt = g_option_context_new ("");
g_option_context_add_main_entries (ctxt, entries, NULL);
- g_option_context_add_group (ctxt, gtk_get_option_group (TRUE));
g_option_context_parse (ctxt, &argc, &argv, NULL);
g_option_context_free (ctxt);
ctxt = NULL;
- gtk_init (&argc, &argv);
+ gtk_init ();
if (rtl)
gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]