Removing the deprecated g_thread_init call.