diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-07-14 13:09:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-07-14 13:09:58 (GMT) |
commit | ce1baffaf5917431602a6967f8df99a183b3f1c3 (patch) | |
tree | 396468ab1dc90d769bb6a61389e4fd0265c3d568 /plugins/pychrysalide/helpers.h | |
parent | 6c751d40ab1b84a6979c143ed47702207edebed8 (diff) |
Switched to the new interface registration for Python bindings.
Diffstat (limited to 'plugins/pychrysalide/helpers.h')
-rw-r--r-- | plugins/pychrysalide/helpers.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h index a74a747..c3ae535 100644 --- a/plugins/pychrysalide/helpers.h +++ b/plugins/pychrysalide/helpers.h @@ -173,10 +173,7 @@ bool _register_class_for_pygobject(PyObject *, GType, PyTypeObject *, PyTypeObje _register_class_for_pygobject(dict, gtype, type, base, NULL) /* Enregistre correctement une interface GObject pour Python. */ -bool register_interface_for_pygobject(PyObject *, GType, PyTypeObject *) __attribute__ ((deprecated)); - -/* Enregistre correctement une interface GObject pour Python. */ -bool register_interface_for_pygobject_2(PyObject *, GType, PyTypeObject *, const GInterfaceInfo *); +bool register_interface_for_pygobject(PyObject *, GType, PyTypeObject *, const GInterfaceInfo *); /* Enregistre un type Python dérivant d'un type GLib dynamique. */ bool register_class_for_dynamic_pygobject(GType, PyTypeObject *, PyTypeObject *); |