summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/gui
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/gui
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/gui')
-rw-r--r--plugins/pychrysa/gui/module.c2
-rw-r--r--plugins/pychrysa/gui/panels/module.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysa/gui/module.c b/plugins/pychrysa/gui/module.c
index cf09c44..88ea244 100644
--- a/plugins/pychrysa/gui/module.c
+++ b/plugins/pychrysa/gui/module.c
@@ -58,7 +58,7 @@ bool add_gui_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pychrysalide.gui", module);
- result = (ret != 0);
+ result = (ret == 0);
if (ret != 0) /* ... */;
diff --git a/plugins/pychrysa/gui/panels/module.c b/plugins/pychrysa/gui/panels/module.c
index 7c26dac..9427f22 100644
--- a/plugins/pychrysa/gui/panels/module.c
+++ b/plugins/pychrysa/gui/panels/module.c
@@ -57,7 +57,7 @@ bool add_gui_panels_module_to_python_module(PyObject *super)
Py_INCREF(module);
ret = PyModule_AddObject(super, "pychrysalide.gui.panels", module);
- result = (ret != 0);
+ result = (ret == 0);
if (ret != 0) /* ... */;