[libwnck/wip/muktupavels/gtk4] test-wnck: 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-wnck: don't pass commandline arguments to gtk_init
- Date: Sun, 21 May 2017 00:00:48 +0000 (UTC)
commit 8f2097a8c32115148bf4238720dc694efac45209
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun May 21 02:40:28 2017 +0300
test-wnck: don't pass commandline arguments to gtk_init
libwnck/test-wnck.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/test-wnck.c b/libwnck/test-wnck.c
index ffaad59..af938bd 100644
--- a/libwnck/test-wnck.c
+++ b/libwnck/test-wnck.c
@@ -76,13 +76,12 @@ 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);
wnck_set_default_mini_icon_size (icon_size);
- gtk_init (&argc, &argv);
+ gtk_init ();
screen = wnck_screen_get (0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]