diff options
Diffstat (limited to 'plugins/pychrysalide/arch/instructions/undefined.c')
-rw-r--r-- | plugins/pychrysalide/arch/instructions/undefined.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/pychrysalide/arch/instructions/undefined.c b/plugins/pychrysalide/arch/instructions/undefined.c index 66ae4b6..5741609 100644 --- a/plugins/pychrysalide/arch/instructions/undefined.c +++ b/plugins/pychrysalide/arch/instructions/undefined.c @@ -129,8 +129,6 @@ static int py_undef_instruction_init(PyObject *self, PyObject *args, PyObject *k { unsigned long behavior; /* Conséquence pour l'instruct°*/ int ret; /* Bilan de lecture des args. */ - PyObject *new_args; /* Nouveaux arguments épurés */ - PyObject *new_kwds; /* Nouveau dictionnaire épuré */ GUndefInstruction *instr; /* Instruction à manipuler */ undef_obj_extra *extra; /* Données insérées à modifier */ @@ -155,14 +153,7 @@ static int py_undef_instruction_init(PyObject *self, PyObject *args, PyObject *k /* Initialisation d'un objet GLib */ - new_args = PyTuple_New(0); - new_kwds = PyDict_New(); - - ret = PyGObject_Type.tp_init(self, new_args, new_kwds); - - Py_DECREF(new_kwds); - Py_DECREF(new_args); - + ret = forward_pygobjet_init(self); if (ret == -1) return -1; /* Eléments de base */ |