Avoided some warnings with Gtk+ 3.0