I've attached the compilation log including all GTK-related error messages.
I've attached a patch that fixes all deprecation warnings. It's not intended to be installed as-is, more as a baseline for discussion. Some of the functions have straightforward replacements, others are harder to replace, yet others have vanished altogether.