replace some deprecated code
fix some more deprecated code
replace the deprecated GDK symbols
Merge pull request #9 from eyelash/master

Replace some deprecated code