Suppressed some Gtk warnings on non interactive mode.