all repos — openbox @ 711d4a342f9f459383ad59ceb624fcb853a41512

openbox fork - make it a bit more like ryudo

more typesafety
Dana Jansens danakj@orodu.net
commit

711d4a342f9f459383ad59ceb624fcb853a41512

parent

b12b1cb7848d590be57281fa6ee68b9f05a57c30

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/openbox.hhsrc/openbox.hh

@@ -171,7 +171,7 @@

//! Returns the mouse cursors used throughout Openbox inline const Cursors &cursors() const { return _cursors; } - inline PyObject *pyclients() const { return _pyclients; } + inline PyDictObject *pyclients() const { return _pyclients; } //! The main function of the Openbox class /*!
M src/python_client.ccsrc/python_client.cc

@@ -15,7 +15,7 @@ PyObject *get_client_dict(PyObject* self, PyObject* args)

{ if (!PyArg_ParseTuple(args, ":get_client_dict")) return NULL; - return PyDictProxy_New(Openbox::instance->pyclients()); + return PyDictProxy_New((PyObject*)Openbox::instance->pyclients()); }