main: Remove call to g_thread_init

according to g_thread documentation, this call is no longer needed,
and starting from g_thread version 2.32 it must not be used
This commit is contained in:
Giacinto Cifelli 2018-09-20 06:39:40 +02:00 committed by Denis Kenzior
parent ce6c1087a2
commit f11633f837
1 changed files with 0 additions and 5 deletions

View File

@ -211,11 +211,6 @@ int main(int argc, char **argv)
struct ell_event_source *source;
#endif
#ifdef NEED_THREADS
if (g_thread_supported() == FALSE)
g_thread_init(NULL);
#endif
context = g_option_context_new(NULL);
g_option_context_add_main_entries(context, options, NULL);