all repos — openbox @ 925048fedfa855c5315e4951147d47b717637614

openbox fork - make it a bit more like ryudo

incref the Py_None before returning it
Dana Jansens danakj@orodu.net
commit

925048fedfa855c5315e4951147d47b717637614

parent

2efea6f21cf1bdd69e339f2285b45a31dd68304a

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

jump to
M src/python.ccsrc/python.cc

@@ -19,6 +19,7 @@ return NULL;

printf("SHIT CALLED!@!\n"); + Py_INCREF(Py_None); return Py_None; }

@@ -36,7 +37,7 @@ };

void initopenbox() { - PyClient_Type.ob_type = &PyType_Type; + OBClient_Type.ob_type = &PyType_Type; Py_InitModule("openbox", OBMethods); }