make GTK UI compatible to GTK3