fix warnings for Gtk+ 3.8
merge