summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/gui
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/gui')
-rw-r--r--plugins/pychrysalide/gui/panel.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/pychrysalide/gui/panel.c b/plugins/pychrysalide/gui/panel.c
index 4f00ee3..fd31ef8 100644
--- a/plugins/pychrysalide/gui/panel.c
+++ b/plugins/pychrysalide/gui/panel.c
@@ -191,7 +191,6 @@ static int py_panel_item_init(PyObject *self, PyObject *args, PyObject *kwds)
int startup; /* Recommandation au démarrage */
const char *path; /* Placement à l'affichage */
int ret; /* Bilan de lecture des args. */
- PyObject *new_kwds; /* Nouveau dictionnaire épuré */
GPanelItem *panel; /* Panneau à manipuler */
GEditorItem *item; /* Version basique d'instance */
@@ -239,12 +238,7 @@ static int py_panel_item_init(PyObject *self, PyObject *args, PyObject *kwds)
/* Initialisation d'un objet GLib */
- new_kwds = PyDict_New();
-
- ret = PyGObject_Type.tp_init(self, args, new_kwds);
-
- Py_DECREF(new_kwds);
-
+ ret = forward_pygobjet_init(self);
if (ret == -1) return -1;
/* Eléments de base */