summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis/db
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/analysis/db')
-rw-r--r--plugins/pychrysalide/analysis/db/items/bookmark.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/pychrysalide/analysis/db/items/bookmark.c b/plugins/pychrysalide/analysis/db/items/bookmark.c
index fd84e02..38abf6c 100644
--- a/plugins/pychrysalide/analysis/db/items/bookmark.c
+++ b/plugins/pychrysalide/analysis/db/items/bookmark.c
@@ -151,8 +151,6 @@ static int py_db_bookmark_init(PyObject *self, PyObject *args, PyObject *kwds)
vmpa2t *addr; /* Emplacement ciblé */
const char *comment; /* Commentaire éventuel associé*/
int ret; /* Bilan de lecture des args. */
- PyObject *new_args; /* Nouveaux arguments épurés */
- PyObject *new_kwds; /* Nouveau dictionnaire épuré */
GDbBookmark *bookmark; /* Version GLib du signet */
bool status; /* Bilan de l'initialisation */
@@ -182,14 +180,7 @@ static int py_db_bookmark_init(PyObject *self, PyObject *args, PyObject *kwds)
/* 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)
{
clean_vmpa_arg(addr);