summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/helpers.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-01-14 03:02:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-01-14 03:02:42 (GMT)
commitd87c3d00f6448233cfcabc2b6d8bc82e395d4190 (patch)
treeb2be6d75bd97189118124cb11fb1a535988dd4c4 /plugins/pychrysalide/helpers.c
parent9d6c6af8ea3a21e206b0ffb65c04db5cca7154b1 (diff)
Update code for Python abstract GLib objects constructors.
Diffstat (limited to 'plugins/pychrysalide/helpers.c')
-rw-r--r--plugins/pychrysalide/helpers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/pychrysalide/helpers.c b/plugins/pychrysalide/helpers.c
index ea2f55d..c31d9f1 100644
--- a/plugins/pychrysalide/helpers.c
+++ b/plugins/pychrysalide/helpers.c
@@ -552,7 +552,6 @@ bool register_python_module_object(PyObject *module, PyTypeObject *type)
* *
* Paramètres : type = type du nouvel objet à mettre en place. *
* gbase = type de base natif. *
-* cinit = procédure d'initialisation de la classe associée. *
* args = éventuelle liste d'arguments. *
* kwds = éventuel dictionnaire de valeurs mises à disposition.*
* *
@@ -564,7 +563,7 @@ bool register_python_module_object(PyObject *module, PyTypeObject *type)
* *
******************************************************************************/
-PyObject *python_abstract_constructor(PyTypeObject *type, GType gbase, GClassInitFunc cinit, PyObject *args, PyObject *kwds)
+PyObject *python_abstract_constructor(PyTypeObject *type, GType gbase, PyObject *args, PyObject *kwds)
{
PyObject *result; /* Objet à retourner */
PyTypeObject *base; /* Type parent version Python */