_doshutdown = false;
_rcfilepath = otk::expandTilde("~/.openbox/rc3");
- _pyclients = PyDict_New();
+ _pyclients = (PyDictObject*) PyDict_New();
assert(_pyclients);
parseCommandLine(argc, argv);
PyClientObject* pyclient = PyObject_New(PyClientObject, &PyClient_Type);
pyclient->window = window;
pyclient->client = client;
- PyDict_SetItem(_pyclients, PyLong_FromLong(window), (PyObject*)pyclient);
+ PyDict_SetItem((PyObject*)_pyclients, PyLong_FromLong(window),
+ (PyObject*)pyclient);
}
//! A list of all managed clients
ClientMap _clients;
- PyObject *_pyclients; // PyDictObject
+ PyDictObject *_pyclients;
//! A list of all the managed screens
ScreenList _screens;