summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/register.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-22 18:28:36 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-22 18:34:46 (GMT)
commitc1bcf3e7bd0a256005bd15832117b78cee5fdfab (patch)
tree54188ab3933526ca79ae3e8f86dd99adad49e681 /plugins/pychrysalide/arch/register.c
parent3a8bc79d69acae3735cc0203b54d93b4137caa09 (diff)
Allowed to initialize instances of created dynamic types if needed.
Diffstat (limited to 'plugins/pychrysalide/arch/register.c')
-rw-r--r--plugins/pychrysalide/arch/register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/arch/register.c b/plugins/pychrysalide/arch/register.c
index 0299fa6..c55cd2b 100644
--- a/plugins/pychrysalide/arch/register.c
+++ b/plugins/pychrysalide/arch/register.c
@@ -103,8 +103,8 @@ static PyObject *py_arch_register_new(PyTypeObject *type, PyObject *args, PyObje
first_time = (g_type_from_name(type->tp_name) == 0);
- gtype = built_dynamic_type(G_TYPE_ARCH_REGISTER, type->tp_name,
- (GClassInitFunc)py_arch_register_init_gclass, NULL);
+ gtype = build_dynamic_type(G_TYPE_ARCH_REGISTER, type->tp_name,
+ (GClassInitFunc)py_arch_register_init_gclass, NULL, NULL);
if (first_time)
{