summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext/module.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-05-13 08:09:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-05-13 08:09:00 (GMT)
commita20cf5f374e64c6db50bf33545dc67804e90eabc (patch)
tree96ef4806bc66064b7fb9a82f5031faa3b423e8e3 /plugins/pychrysalide/glibext/module.c
parent0d52ab7d31cde2861973c2bf73156e3ba3edc4ed (diff)
Define the first steps for singleton support.
Diffstat (limited to 'plugins/pychrysalide/glibext/module.c')
-rw-r--r--plugins/pychrysalide/glibext/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysalide/glibext/module.c b/plugins/pychrysalide/glibext/module.c
index 176d815..634cf5c 100644
--- a/plugins/pychrysalide/glibext/module.c
+++ b/plugins/pychrysalide/glibext/module.c
@@ -38,6 +38,7 @@
#include "linegen.h"
#include "loadedpanel.h"
#include "named.h"
+#include "singleton.h"
#include "../helpers.h"
@@ -104,6 +105,8 @@ bool populate_glibext_module(void)
result = true;
+ if (result) result = ensure_python_singleton_candidate_is_registered();
+
if (result) result = ensure_python_binary_cursor_is_registered();
if (result) result = ensure_python_binary_portion_is_registered();
if (result) result = ensure_python_buffer_cache_is_registered();
@@ -116,6 +119,7 @@ bool populate_glibext_module(void)
if (result) result = ensure_python_line_generator_is_registered();
if (result) result = ensure_python_loaded_panel_is_registered();
if (result) result = ensure_python_named_widget_is_registered();
+ if (result) result = ensure_python_singleton_factory_is_registered();
assert(result);