diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-06-09 16:54:52 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-06-09 16:54:52 +0000 |
commit | 9078ad41fd0606135c477eb46457fa521097420d (patch) | |
tree | 04806a1410f07404521615ff70eab48654e84d20 /bindings | |
parent | 05b537876bd1ec9fc5f34312835de4ae04e7de68 (diff) | |
download | lasso-9078ad41fd0606135c477eb46457fa521097420d.tar.gz lasso-9078ad41fd0606135c477eb46457fa521097420d.tar.xz lasso-9078ad41fd0606135c477eb46457fa521097420d.zip |
Binding python: call lasso_init() first in init_lasso()
Diffstat (limited to 'bindings')
-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); } |