g_type_init is deprecated in Glib 2.36