Avoid warnings when building with Gtk+ 3.0
Avoid warnings when building with Gtk+ 3.0