diff options
Diffstat (limited to 'bindings/python')
| -rw-r--r-- | bindings/python/lang.py | 2 | ||||
| -rw-r--r-- | bindings/python/wrapper_bottom.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py index c3b1a53f..efda521c 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -115,8 +115,6 @@ class Binding: import _lasso -_lasso.init() - def cptrToPy(cptr): if cptr is None: return None diff --git a/bindings/python/wrapper_bottom.c b/bindings/python/wrapper_bottom.c index a899188d..730c21b8 100644 --- a/bindings/python/wrapper_bottom.c +++ b/bindings/python/wrapper_bottom.c @@ -14,6 +14,7 @@ init_lasso(void) Py_INCREF(&PyGObjectPtrType); PyModule_AddObject(m, "PyGObjectPtr", (PyObject *)&PyGObjectPtrType); + lasso_init(); lasso_log_set_handler(G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION | G_LOG_LEVEL_MASK, lasso_python_log, NULL); } |
