g_type_init deprecated in glib 2.35.1