diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 499baf857..d4a80a8c3 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -8428,8 +8428,10 @@ namespace Game { } //end namespace int main(int argc, char **argv) { +#ifndef _WIN32 setenv("DBUS_FATAL_WARNINGS", "0", 1); unsetenv("XMODIFIERS"); +#endif int result = mainSetup(argc,argv); if (result == 0) result = Game::glestMainWrapper(argc, argv);