Gtk2 and gtk3 compatabilities