Avoid deprecation warnings by use of gtk2 -> gtk3 wrapper macros.