summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext
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/glibext
parent6c751d40ab1b84a6979c143ed47702207edebed8 (diff)
Switched to the new interface registration for Python bindings.
Diffstat (limited to 'plugins/pychrysalide/glibext')
-rw-r--r--plugins/pychrysalide/glibext/linegen.c2
-rw-r--r--plugins/pychrysalide/glibext/loadedpanel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/glibext/linegen.c b/plugins/pychrysalide/glibext/linegen.c
index 6d29dbc..1ab4ec6 100644
--- a/plugins/pychrysalide/glibext/linegen.c
+++ b/plugins/pychrysalide/glibext/linegen.c
@@ -834,7 +834,7 @@ bool ensure_python_line_generator_is_registered(void)
dict = PyModule_GetDict(module);
- if (!register_interface_for_pygobject_2(dict, G_TYPE_LINE_GENERATOR, type, &info))
+ if (!register_interface_for_pygobject(dict, G_TYPE_LINE_GENERATOR, type, &info))
return false;
}
diff --git a/plugins/pychrysalide/glibext/loadedpanel.c b/plugins/pychrysalide/glibext/loadedpanel.c
index 6e87cde..d2af7fe 100644
--- a/plugins/pychrysalide/glibext/loadedpanel.c
+++ b/plugins/pychrysalide/glibext/loadedpanel.c
@@ -297,7 +297,7 @@ bool ensure_python_loaded_panel_is_registered(void)
dict = PyModule_GetDict(module);
- if (!register_interface_for_pygobject_2(dict, G_TYPE_LOADED_PANEL, type, &info))
+ if (!register_interface_for_pygobject(dict, G_TYPE_LOADED_PANEL, type, &info))
return false;
if (!define_loaded_panel_constants(type))