Earlier quoted context omitted.
But, haven't the gimp team been working on refactoring/modularization of all of the tools? I think this is part of an effort to modernize. I haven't been keeping up with it but I think I read this several years ago. They stated in 2018 "GIMP 3.0 will be relying on GTK3, a much newer version of the toolkit." not sure if that ever happened? https://www.gimp.org/news/2019/01/02/gimp-and-gegl-in-2018/
They're trying. And I appreciate that. Unfortunately it's still on-going in 2023.
"GTK+3 port officially done
GIMP 3.0 has been known as the GTK+3 port version, so you will be happy to read that this port is finally over. To be fair, we still have a few minor deprecation warnings here and there, but nothing like the hundreds we used to have."
https://www.gimp.org/news/2023/07/09/gimp-2-99-16-released/#...