diff options
Diffstat (limited to 'plugins/pychrysalide/analysis/loading.c')
-rw-r--r-- | plugins/pychrysalide/analysis/loading.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/analysis/loading.c b/plugins/pychrysalide/analysis/loading.c index f785a53..0b06bd1 100644 --- a/plugins/pychrysalide/analysis/loading.c +++ b/plugins/pychrysalide/analysis/loading.c @@ -85,7 +85,7 @@ static PyObject *py_content_explorer_populate_group(PyObject *self, PyObject *ar GBinContent *content; /* Contenu nouveau au final */ ret = PyArg_ParseTuple(args, "KO!", &wid, get_python_binary_content_type(), &content_obj); - if (!ret) Py_RETURN_NONE; + if (!ret) return NULL; explorer = G_CONTENT_EXPLORER(pygobject_get(self)); content = G_BIN_CONTENT(pygobject_get(content_obj)); @@ -122,7 +122,7 @@ static PyObject *py_content_explorer_note_detected(PyObject *self, PyObject *arg GLoadedContent *loaded; /* Contenu chargé au final */ ret = PyArg_ParseTuple(args, "KO!", &wid, get_python_loaded_content_type(), &loaded_obj); - if (!ret) Py_RETURN_NONE; + if (!ret) return NULL; explorer = G_CONTENT_EXPLORER(pygobject_get(self)); loaded = G_LOADED_CONTENT(pygobject_get(loaded_obj)); @@ -254,7 +254,7 @@ static PyObject *py_content_resolver_add_detected(PyObject *self, PyObject *args GLoadedContent *loaded; /* Contenu chargé au final */ ret = PyArg_ParseTuple(args, "KO!", &wid, get_python_loaded_content_type(), &loaded_obj); - if (!ret) Py_RETURN_NONE; + if (!ret) return NULL; resolver = G_CONTENT_RESOLVER(pygobject_get(self)); loaded = G_LOADED_CONTENT(pygobject_get(loaded_obj)); |