Ref https://gitlab.gnome.org/GNOME/gimp/-/commit/c4460e846b55304afd262add2ca61dd69bf468a5#75c4ab7743b0887c46f46f12db4d0bcb9b9a98df