dont define the 'display' global
Dana Jansens danakj@orodu.net
1 files changed,
0 insertions(+),
1 deletions(-)
jump to
M
src/python.cc
→
src/python.cc
@@ -34,7 +34,6 @@ // import the otk and openbox modules into the main namespace
PyRun_SimpleString("from openbox import *;"); // set up convenience global variables PyRun_SimpleString("openbox = Openbox_instance()"); - PyRun_SimpleString("display = OBDisplay_display()"); // set up access to the python global variables PyObject *obmodule = PyImport_AddModule("__main__");