summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/gui
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/gui
parent3a8bc79d69acae3735cc0203b54d93b4137caa09 (diff)
Allowed to initialize instances of created dynamic types if needed.
Diffstat (limited to 'plugins/pychrysalide/gui')
-rw-r--r--plugins/pychrysalide/gui/panels/panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/gui/panels/panel.c b/plugins/pychrysalide/gui/panels/panel.c
index 0db1df8..2d0b562 100644
--- a/plugins/pychrysalide/gui/panels/panel.c
+++ b/plugins/pychrysalide/gui/panels/panel.c
@@ -109,8 +109,8 @@ static PyObject *py_panel_item_new(PyTypeObject *type, PyObject *args, PyObject
first_time = (g_type_from_name(type->tp_name) == 0);
- gtype = built_dynamic_type(G_TYPE_PANEL_ITEM, type->tp_name,
- (GClassInitFunc)py_panel_item_init_gclass, NULL);
+ gtype = build_dynamic_type(G_TYPE_PANEL_ITEM, type->tp_name,
+ (GClassInitFunc)py_panel_item_init_gclass, NULL, NULL);
if (first_time)
{