[gtk2] compatibility clean up