[libwnck/wip/muktupavels/gtk4] test-shutdown: don't pass commandline arguments to gtk_init



commit 2806547b29733065b092faacc1f414a85f34ba21
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun May 21 02:54:27 2017 +0300

    test-shutdown: don't pass commandline arguments to gtk_init

 libwnck/test-shutdown.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/test-shutdown.c b/libwnck/test-shutdown.c
index 0f09d42..5ef79c4 100644
--- a/libwnck/test-shutdown.c
+++ b/libwnck/test-shutdown.c
@@ -33,7 +33,7 @@ main (int    argc,
   GMainLoop *loop;
   WnckScreen *screen;
 
-  gdk_init (&argc, &argv);
+  gtk_init ();
 
   loop = g_main_loop_new (NULL, FALSE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]