... after commit 2c9a8a56. Don't use the same function as a handler for GimpContext::display-changed and GimpContext::image-changed -- their signatures are different.