Fixed errors in the gtk2.