summaryrefslogtreecommitdiff
path: root/src/gui/core/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/core/core.c')
-rw-r--r--src/gui/core/core.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/core/core.c b/src/gui/core/core.c
index 16e5cc8..dbff1b8 100644
--- a/src/gui/core/core.c
+++ b/src/gui/core/core.c
@@ -28,6 +28,7 @@
#include "../../core/params.h"
+#include "../../glibext/gbuffersegment.h"
@@ -47,9 +48,10 @@ bool load_all_gui_components(GObject *ref)
{
bool result; /* Bilan à retourner */
- result = true;
+ result = init_segment_content_hash_table();
- load_main_panels(ref);
+ if (result)
+ load_main_panels(ref);
return result;
@@ -93,5 +95,6 @@ bool complete_loading_of_all_gui_components(GGenConfig *config)
void unload_all_gui_components(void)
{
+ exit_segment_content_hash_table();
}