summaryrefslogtreecommitdiff
path: root/plugins/pychrysa
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa')
-rw-r--r--plugins/pychrysa/plugin.c8
-rw-r--r--plugins/pychrysa/pychrysa.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/pychrysa/plugin.c b/plugins/pychrysa/plugin.c
index 0a27fa1..e1db3de 100644
--- a/plugins/pychrysa/plugin.c
+++ b/plugins/pychrysa/plugin.c
@@ -331,7 +331,7 @@ static PluginAction g_python_plugin_get_action(const GPythonPlugin *plugin)
Py_DECREF(value);
}
else
- result = PGA_NONE;
+ result = 0;//PGA_NONE;
return result;
@@ -581,8 +581,8 @@ static bool pychrysa_plugin_define_constants(PyObject *dict)
{
int ret; /* Bilan d'un ajout */
- ret = PyDict_SetItemString(dict, "PGA_NONE", PyInt_FromLong(PGA_NONE));
- if (ret == -1) return false;
+ //ret = PyDict_SetItemString(dict, "PGA_NONE", PyInt_FromLong(PGA_NONE));
+ //if (ret == -1) return false;
ret = PyDict_SetItemString(dict, "PGA_FORMAT_MATCHER", PyInt_FromLong(PGA_FORMAT_MATCHER));
if (ret == -1) return false;
@@ -669,7 +669,7 @@ static PyObject *pychrysa_plugin_init(PyObject *self, PyObject *args)
static PyObject *pychrysa_plugin_get_action(PyObject *self, PyObject *args)
{
- return PyInt_FromLong(PGA_NONE);
+ return PyInt_FromLong(0/*PGA_NONE*/);
}
diff --git a/plugins/pychrysa/pychrysa.c b/plugins/pychrysa/pychrysa.c
index 2b8202e..00856f3 100644
--- a/plugins/pychrysa/pychrysa.c
+++ b/plugins/pychrysa/pychrysa.c
@@ -229,7 +229,7 @@ PluginAction get_plugin_action(const GPluginModule *plugin)
{
PluginAction result; /* Combinaison à retourner */
- result = PGA_NONE;
+ //result = PGA_NONE;
return result;