qulogic/libgnt

Parents 82b581ba5822
Children 75a3688723cc
Correctly remove deprecated functions g_type_init and g_thread_init
  • +3 -0
    gntmain.c
  • --- a/gntmain.c Sun Mar 03 18:35:43 2013 -0500
    +++ b/gntmain.c Sun Apr 14 21:29:14 2013 +0200
    @@ -508,7 +508,10 @@
    signal(SIGINT, sighandler);
    signal(SIGPIPE, SIG_IGN);
    +#if !GLIB_CHECK_VERSION(2, 36, 0)
    + /* GLib type system is automaticaly initialized since 2.36. */
    g_type_init();
    +#endif
    init_wm();