gtk2 & gtk3 compatibilities