summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/core/core.c3
-rw-r--r--src/gui/core/core.c3
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 41da548..2ee17fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
16-12-13 Cyrille Bagard <nocbos@gmail.com>
+ * src/core/core.c:
+ * src/gui/core/core.c:
+ Move the registration of sharing hash tables.
+
+16-12-13 Cyrille Bagard <nocbos@gmail.com>
+
* plugins/mobicore/mclf-int.c:
* src/main.c:
Fix some compilation warnings.
diff --git a/src/core/core.c b/src/core/core.c
index 67fe95f..362ab03 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -39,6 +39,7 @@
#include "../analysis/db/keymgn.h"
#include "../common/io.h"
#include "../common/xdg.h"
+#include "../glibext/linesegment.h"
#include "../gtkext/support.h"
@@ -82,6 +83,8 @@ bool load_all_basic_components(void)
result &= g_generic_config_read(get_main_configuration());
+ result &= init_segment_content_hash_table();
+
result &= load_hard_coded_processors_definitions();
result &= load_hard_coded_formats_definitions();
diff --git a/src/gui/core/core.c b/src/gui/core/core.c
index 7d75167..22ce2b7 100644
--- a/src/gui/core/core.c
+++ b/src/gui/core/core.c
@@ -29,7 +29,6 @@
#include "theme.h"
#include "../../core/params.h"
-#include "../../glibext/linesegment.h"
@@ -55,8 +54,6 @@ bool load_all_gui_components(GObject *ref)
result = load_segment_rendering_parameters();
- result &= init_segment_content_hash_table();
-
return result;
}