dont need the otk initializer
This commit is contained in:
parent
26d95a5286
commit
d0c61ebfea
1 changed files with 1 additions and 4 deletions
|
@ -11,8 +11,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
// The initializer in openbox_wrap.cc
|
// The initializer in openbox_wrap.cc
|
||||||
extern void init_openbox(void);
|
extern void init_openbox(void);
|
||||||
// The initializer in otk_wrap.cc
|
|
||||||
extern void init_otk(void);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace ob {
|
namespace ob {
|
||||||
|
@ -24,8 +22,7 @@ void python_init(char *argv0)
|
||||||
// start the python engine
|
// start the python engine
|
||||||
Py_SetProgramName(argv0);
|
Py_SetProgramName(argv0);
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
// initialize the C python modules
|
// initialize the C python module
|
||||||
init_otk();
|
|
||||||
init_openbox();
|
init_openbox();
|
||||||
// include the openbox directories for python scripts in the sys path
|
// include the openbox directories for python scripts in the sys path
|
||||||
PyRun_SimpleString("import sys");
|
PyRun_SimpleString("import sys");
|
||||||
|
|
Loading…
Reference in a new issue