Avoid a few more warnings when building with Gtk+ 3