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" {
|
||||
// The initializer in openbox_wrap.cc
|
||||
extern void init_openbox(void);
|
||||
// The initializer in otk_wrap.cc
|
||||
extern void init_otk(void);
|
||||
}
|
||||
|
||||
namespace ob {
|
||||
|
@ -24,8 +22,7 @@ void python_init(char *argv0)
|
|||
// start the python engine
|
||||
Py_SetProgramName(argv0);
|
||||
Py_Initialize();
|
||||
// initialize the C python modules
|
||||
init_otk();
|
||||
// initialize the C python module
|
||||
init_openbox();
|
||||
// include the openbox directories for python scripts in the sys path
|
||||
PyRun_SimpleString("import sys");
|
||||
|
|
Loading…
Reference in a new issue