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/arch/operands/rename.c | |
parent | 6c751d40ab1b84a6979c143ed47702207edebed8 (diff) |
Switched to the new interface registration for Python bindings.
Diffstat (limited to 'plugins/pychrysalide/arch/operands/rename.c')
-rw-r--r-- | plugins/pychrysalide/arch/operands/rename.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/arch/operands/rename.c b/plugins/pychrysalide/arch/operands/rename.c index 60985db..bef2982 100644 --- a/plugins/pychrysalide/arch/operands/rename.c +++ b/plugins/pychrysalide/arch/operands/rename.c @@ -294,7 +294,7 @@ bool ensure_python_renamed_operand_is_registered(void) dict = PyModule_GetDict(module); - if (!register_interface_for_pygobject_2(dict, G_TYPE_RENAMED_OPERAND, type, &info)) + if (!register_interface_for_pygobject(dict, G_TYPE_RENAMED_OPERAND, type, &info)) return false; } @@ -591,7 +591,7 @@ bool ensure_python_renameable_operand_is_registered(void) dict = PyModule_GetDict(module); - if (!register_interface_for_pygobject_2(dict, G_TYPE_RENAMEABLE_OPERAND, type, &info)) + if (!register_interface_for_pygobject(dict, G_TYPE_RENAMEABLE_OPERAND, type, &info)) return false; } |