g_type_init() is deprecated since GLib 2.36