[libwnck/wip/muktupavels/gtk4] test-tasklist: 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-tasklist: don't pass commandline arguments to gtk_init
- Date: Sun, 21 May 2017 00:01:03 +0000 (UTC)
commit dea58e9d4943db858790515e91ca528b19ba7372
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun May 21 02:42:07 2017 +0300
test-tasklist: don't pass commandline arguments to gtk_init
libwnck/test-tasklist.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/test-tasklist.c b/libwnck/test-tasklist.c
index 6b27f5a..c10e7d9 100644
--- a/libwnck/test-tasklist.c
+++ b/libwnck/test-tasklist.c
@@ -62,12 +62,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]