summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-07-14 13:09:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-07-14 13:09:58 (GMT)
commitce1baffaf5917431602a6967f8df99a183b3f1c3 (patch)
tree396468ab1dc90d769bb6a61389e4fd0265c3d568 /plugins/pychrysalide/arch
parent6c751d40ab1b84a6979c143ed47702207edebed8 (diff)
Switched to the new interface registration for Python bindings.
Diffstat (limited to 'plugins/pychrysalide/arch')
-rw-r--r--plugins/pychrysalide/arch/operands/feeder.c2
-rw-r--r--plugins/pychrysalide/arch/operands/rename.c4
-rw-r--r--plugins/pychrysalide/arch/operands/targetable.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/pychrysalide/arch/operands/feeder.c b/plugins/pychrysalide/arch/operands/feeder.c
index 68fa052..d32e965 100644
--- a/plugins/pychrysalide/arch/operands/feeder.c
+++ b/plugins/pychrysalide/arch/operands/feeder.c
@@ -397,7 +397,7 @@ bool ensure_python_proxy_feeder_is_registered(void)
dict = PyModule_GetDict(module);
- if (!register_interface_for_pygobject_2(dict, G_TYPE_PROXY_FEEDER, type, &info))
+ if (!register_interface_for_pygobject(dict, G_TYPE_PROXY_FEEDER, type, &info))
return false;
}
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;
}
diff --git a/plugins/pychrysalide/arch/operands/targetable.c b/plugins/pychrysalide/arch/operands/targetable.c
index de1a6b4..4d921be 100644
--- a/plugins/pychrysalide/arch/operands/targetable.c
+++ b/plugins/pychrysalide/arch/operands/targetable.c
@@ -331,7 +331,7 @@ bool ensure_python_targetable_operand_is_registered(void)
dict = PyModule_GetDict(module);
- if (!register_interface_for_pygobject_2(dict, G_TYPE_TARGETABLE_OPERAND, type, &info))
+ if (!register_interface_for_pygobject(dict, G_TYPE_TARGETABLE_OPERAND, type, &info))
return false;
}