summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/core-ui.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-01-16 01:00:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-01-16 01:00:28 (GMT)
commit64b690f0038e01e807c1ec8d62041057fd38b4b8 (patch)
tree1de592f2379547abfb8aedc452958dbdace9b658 /plugins/pychrysalide/core-ui.c
parent8be5b3fb8a516380fc88fd900a98238ce8564682 (diff)
Improve the plugins management.gtk4
Diffstat (limited to 'plugins/pychrysalide/core-ui.c')
-rw-r--r--plugins/pychrysalide/core-ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/pychrysalide/core-ui.c b/plugins/pychrysalide/core-ui.c
index 32d3516..1b332b7 100644
--- a/plugins/pychrysalide/core-ui.c
+++ b/plugins/pychrysalide/core-ui.c
@@ -179,7 +179,7 @@ GPluginModule *g_pychrysalide_plugin_ui_new(GModule *module)
{
GPyChrysalidePluginUI *result; /* Structure à retourner */
- result = g_object_new(G_TYPE_PYCHRYSALIDE_PLUGIN, NULL);
+ result = g_object_new(G_TYPE_PYCHRYSALIDE_PLUGIN_UI, NULL);
if (!g_pychrysalide_plugin_ui_create(result, module))
g_clear_object(&result);
@@ -310,6 +310,7 @@ PyMODINIT_FUNC PyInit_pychrysalideui(void)
details.standalone = _standalone;
details.populate_extra = NULL;
+ details.create_self = g_pychrysalide_plugin_ui_new;
result = init_python_pychrysalide_module(&details);