This is a patch to allow compiling on Mac OS where gimpimagewindow.c still needs to access an API that went private in GTK 3.
gimpimagewindow.c
gtk#2452
cc @Jehan