summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/glibext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-28 01:18:24 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-28 01:18:24 (GMT)
commit513b9c9b30c8d71decced2491a91c720a52aa910 (patch)
treefa289d4556901733208a2881985e9586db92c83a /plugins/pychrysa/glibext
parent764a6782ee40c3c3a1bfb67434b33077ece4df88 (diff)
Created Python objects for the GtkBlockView widgets and fixed some bugs.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@311 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/glibext')
-rw-r--r--plugins/pychrysa/glibext/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/glibext/module.c b/plugins/pychrysa/glibext/module.c
index 2212c32..65de4e5 100644
--- a/plugins/pychrysa/glibext/module.c
+++ b/plugins/pychrysa/glibext/module.c
@@ -58,7 +58,7 @@ bool add_glibext_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pychrysalide.glibext", module);
- result = (ret != 0);
+ result = (ret == 0);
result &= register_python_buffer_line(module);
result &= register_python_code_buffer(module);