summaryrefslogtreecommitdiff
path: root/src/core/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-02-10 00:39:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-02-10 00:39:50 (GMT)
commitd01509d9afe32c0d98d2efba5e75a9df53ac5de9 (patch)
treef4d742bec88c34ee9d04c42d16dc7ac84bc642b7 /src/core/core.c
parent71d0b80eca2fd2aed5883e2a6a57cb8c03aa27ff (diff)
Switch the secure storage to the GObject system.
Diffstat (limited to 'src/core/core.c')
-rw-r--r--src/core/core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/core.c b/src/core/core.c
index eaf7763..8fe12f5 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -25,7 +25,6 @@
#include "global.h"
-#include "secstorage.h"
@@ -54,7 +53,7 @@ bool load_core_components(AvailableCoreComponent flags)
if ((flags & ACC_GLOBAL_VARS) != 0 && (__loaded & ACC_GLOBAL_VARS) == 0)
{
- init_secret_storage();
+ set_secret_storage(g_secret_storage_new(NULL));
set_work_queue(g_work_queue_new());
@@ -85,7 +84,7 @@ void unload_core_components(AvailableCoreComponent flags)
{
set_work_queue(NULL);
- exit_secret_storage();
+ set_secret_storage(NULL);
__loaded &= ~ACC_GLOBAL_VARS;