From e47dce53e761beecac4acd90ebf6dd0006a7b534 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sat, 2 Nov 2024 23:08:42 +0100
Subject: Use the new API to load core components.

---
 plugins/pychrysalide/core.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/pychrysalide/core.c b/plugins/pychrysalide/core.c
index a4de749..6842c34 100644
--- a/plugins/pychrysalide/core.c
+++ b/plugins/pychrysalide/core.c
@@ -625,13 +625,11 @@ PyMODINIT_FUNC PyInit_pychrysalide(void)
 #endif
 #endif
 
-    /*
-    if (!load_all_core_components(true))
+    if (!load_core_components(ACC_GLOBAL_VARS))
     {
         PyErr_SetString(PyExc_SystemError, "unable to load all basic components.");
         goto exit;
     }
-    */
 
     /* Mise en place des fonctionnalités offertes */
 
-- 
cgit v0.11.2-87-g4458