summaryrefslogtreecommitdiff
path: root/src/python.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-10 07:43:42 +0000
committerDana Jansens <danakj@orodu.net>2003-01-10 07:43:42 +0000
commit88b7de4aaa417512552003ccf20344766234e0e3 (patch)
treed119e6314fa5985a76d3e10dd109dc7be2a71372 /src/python.cc
parent623de3b0eeede876cf111f380b27795e92604972 (diff)
the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers
Diffstat (limited to 'src/python.cc')
-rw-r--r--src/python.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python.cc b/src/python.cc
index cdb7d431..719c667d 100644
--- a/src/python.cc
+++ b/src/python.cc
@@ -34,7 +34,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()");