summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-13 14:04:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-13 14:04:12 (GMT)
commitc1ca3b52ee3103178e4fc3ff3bb4e26bb9865818 (patch)
treea5d9d4561e1733798ac49061cab43a2924c858cc
parent172e4500f60a8a9d4bcc8eef617d6c80bcc87d0e (diff)
Moved the registration of sharing hash tables.
-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;
}