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/analysis/storage | |
parent | 6c751d40ab1b84a6979c143ed47702207edebed8 (diff) |
Switched to the new interface registration for Python bindings.
Diffstat (limited to 'plugins/pychrysalide/analysis/storage')
-rw-r--r-- | plugins/pychrysalide/analysis/storage/container.c | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/analysis/storage/serialize.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/analysis/storage/container.c b/plugins/pychrysalide/analysis/storage/container.c index d32c689..e412571 100644 --- a/plugins/pychrysalide/analysis/storage/container.c +++ b/plugins/pychrysalide/analysis/storage/container.c @@ -400,7 +400,7 @@ bool ensure_python_cache_container_is_registered(void) dict = PyModule_GetDict(module); - if (!register_interface_for_pygobject_2(dict, G_TYPE_CACHE_CONTAINER, type, &info)) + if (!register_interface_for_pygobject(dict, G_TYPE_CACHE_CONTAINER, type, &info)) return false; } diff --git a/plugins/pychrysalide/analysis/storage/serialize.c b/plugins/pychrysalide/analysis/storage/serialize.c index eeab8f5..3bf5183 100644 --- a/plugins/pychrysalide/analysis/storage/serialize.c +++ b/plugins/pychrysalide/analysis/storage/serialize.c @@ -457,7 +457,7 @@ bool ensure_python_serializable_object_is_registered(void) dict = PyModule_GetDict(module); - if (!register_interface_for_pygobject_2(dict, G_TYPE_SERIALIZABLE_OBJECT, type, &info)) + if (!register_interface_for_pygobject(dict, G_TYPE_SERIALIZABLE_OBJECT, type, &info)) return false; } |