From: Dana Jansens Date: Fri, 10 Jan 2003 08:54:09 +0000 (+0000) Subject: dont define the 'display' global X-Git-Tag: openbox-2_3_0~470 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=007e17d32b16b1df6c5267c9f8701d315c0c3805;p=dana%2Fopenbox.git dont define the 'display' global --- diff --git a/src/python.cc b/src/python.cc index e995ea11..040d7020 100644 --- a/src/python.cc +++ b/src/python.cc @@ -34,7 +34,6 @@ void python_init(char *argv0) 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__");