Fix Windows build
This commit is contained in:
parent
707599dd86
commit
379a4b03d7
|
@ -89,8 +89,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||||
PySys_SetArgvEx(__argc, szArglist, 0);
|
PySys_SetArgvEx(__argc, szArglist, 0);
|
||||||
result = PyRun_SimpleString("import sys; import os;"
|
result = PyRun_SimpleString("import sys; import os;"
|
||||||
"sys.frozen=True;"
|
"sys.frozen=True;"
|
||||||
"import gajim.gajim as g;"
|
"from gajim import gajim;"
|
||||||
"g.GajimApplication().run(sys.argv);");
|
"gajim.main();");
|
||||||
Py_Finalize();
|
Py_Finalize();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue