Update for deprecated symbols in current GTK+ gtk_set_locale is already called by gtk_init and so unnecessary. The other symbols have straightforward replacements.
Correctly build/link against zlib. This is required to satisfy GCC 4.5 (building on Ubuntu Natty) as well as for building with binutils-gold, both of which appear to have stricter requirements for linking.