]> Dogcows Code - chaz/openbox/blobdiff - src/python.cc
dont build the otk wrappers for now
[chaz/openbox] / src / python.cc
index cdb7d431dc8708ae32453b85d9b0a27caddc7697..e995ea116731314a248693597ac78e15ea952d48 100644 (file)
@@ -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");
@@ -34,7 +31,7 @@ void python_init(char *argv0)
                                         otk::expandTilde("~/.openbox/python") +
                                         "')").c_str()));
   // import the otk and openbox modules into the main namespace
-  PyRun_SimpleString("from otk import *; from openbox import *;");
+  PyRun_SimpleString("from openbox import *;");
   // set up convenience global variables
   PyRun_SimpleString("openbox = Openbox_instance()");
   PyRun_SimpleString("display = OBDisplay_display()");
This page took 0.019745 seconds and 4 git commands to generate.