[gtk2] remove more warnings