[nautilus-actions] fma-config-tool: init GType before 2.36



commit d4e20ad0e63afa8582666eb123f8ccd2ed07711a
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Feb 17 19:59:56 2017 +0100

    fma-config-tool: init GType before 2.36

 src/ui/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/main.c b/src/ui/main.c
index 8551836..662395b 100644
--- a/src/ui/main.c
+++ b/src/ui/main.c
@@ -56,6 +56,10 @@ main( int argc, char *argv[] )
        FMAApplication *appli;
        int ret;
 
+#if !GLIB_CHECK_VERSION( 2,36, 0 )
+       g_type_init();
+#endif
+
        set_log_handler();
 
        /* pwi 2011-01-05


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