Avoid warnings when building with Gtk+ 3.0