Avoiding a few more warnings when compiling with Gtk+ 3.0