summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext/module.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-12-08 18:33:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-12-08 18:33:48 (GMT)
commit2c33301f914d19516f8a107033a5dd7a97d70d07 (patch)
treeb96cce5b44c867e3fce6583d16aafdd93268db12 /plugins/pychrysalide/glibext/module.c
parent29a47836eb9dd9c21c81da904b7ad5372a538144 (diff)
Restore a reviewed singleton interface.
Diffstat (limited to 'plugins/pychrysalide/glibext/module.c')
-rw-r--r--plugins/pychrysalide/glibext/module.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/pychrysalide/glibext/module.c b/plugins/pychrysalide/glibext/module.c
index e62d587..d913d92 100644
--- a/plugins/pychrysalide/glibext/module.c
+++ b/plugins/pychrysalide/glibext/module.c
@@ -39,9 +39,9 @@
#include "linegen.h"
#include "loadedpanel.h"
#include "named.h"
-#include "singleton.h"
*/
#include "portion.h"
+#include "singleton.h"
#include "work.h"
#include "workqueue.h"
#include "../helpers.h"
@@ -110,12 +110,14 @@ bool populate_glibext_module(void)
result = true;
+ if (result) result = ensure_python_singleton_candidate_is_registered();
+
if (result) result = ensure_python_binary_portion_is_registered();
if (result) result = ensure_python_generic_work_is_registered();
+ if (result) result = ensure_python_singleton_factory_is_registered();
if (result) result = ensure_python_work_queue_is_registered();
/*
- if (result) result = ensure_python_singleton_candidate_is_registered();
if (result) result = ensure_python_binary_cursor_is_registered();
if (result) result = ensure_python_buffer_cache_is_registered();
@@ -133,7 +135,6 @@ bool populate_glibext_module(void)
if (result) result = ensure_python_loaded_panel_is_registered();
if (result) result = ensure_python_named_widget_is_registered();
#endif
- if (result) result = ensure_python_singleton_factory_is_registered();
*/
assert(result);