get rid of deprecated gtk functions