Adjust to match GIMP 2.8's API