diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2022-02-22 18:45:16 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2022-02-22 18:45:16 (GMT) |
commit | 593eed5f8ec2c09e89fb2bde2421fc8bdda13ac0 (patch) | |
tree | 638de3cabbe0105e1532953d6bb8d2b3d7893b21 /plugins/pychrysalide/analysis/contents/restricted.c | |
parent | 6238bc22b5ca4da5fa334c7f35ac3b0b052b70de (diff) |
Improve Python bindings.
Diffstat (limited to 'plugins/pychrysalide/analysis/contents/restricted.c')
-rw-r--r-- | plugins/pychrysalide/analysis/contents/restricted.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pychrysalide/analysis/contents/restricted.c b/plugins/pychrysalide/analysis/contents/restricted.c index 703f79b..47df8c5 100644 --- a/plugins/pychrysalide/analysis/contents/restricted.c +++ b/plugins/pychrysalide/analysis/contents/restricted.c @@ -204,6 +204,9 @@ bool ensure_python_restricted_content_is_registered(void) if (!ensure_python_serializable_object_is_registered()) return false; + if (!ensure_python_binary_content_is_registered()) + return false; + if (!register_class_for_pygobject(dict, G_TYPE_RESTRICTED_CONTENT, type, &PyGObject_Type)) return false; |