fix most of the gtk3 deprecations