g_thread_init() is deprecated since 2.32.0