Gimp.env_init
function env_init(plug_in: Boolean): void {
// Gjs wrapper for gimp_env_init()
}
You don't need to care about this function. It is being called for you automatically (by means of the MAIN() macro that every plug-in runs). Calling it again will cause a fatal error.
Since 2.4
- plug_in
must be true if this function is called from a plug-in