diff --git a/src/main.c b/src/main.c index 5301ff9..396f059 100644 --- a/src/main.c +++ b/src/main.c @@ -300,7 +300,10 @@ int main(int argc, char **argv) context = g_option_context_new ("Fingerprint handler daemon"); g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE); + +#if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init(); +#endif if (g_option_context_parse (context, &argc, &argv, &error) == FALSE) { g_print ("couldn't parse command-line options: %s\n", error->message);