Addressing gtk+ 2 deprecations.