summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-16 20:00:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-16 20:00:00 (GMT)
commit5fcd4f54c5ca87ca9dfd9529d7b83bbec9aff64a (patch)
tree033981b0662791abf274ad33b4f33d47c3437382 /src/core
parenta30fc1056877860593c19498738775c0ac43794d (diff)
Prevented some mistakes pointed by Melkor.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@599 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index accb3da..0460a23 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -24,10 +24,14 @@
#include "core.h"
+#include <config.h>
+
+
#include "collections.h"
#include "formats.h"
#include "params.h"
#include "processors.h"
+#include "../gtkext/support.h"
@@ -54,6 +58,9 @@ bool load_all_basic_components(void)
{
result = true;
+ add_pixmap_directory(PACKAGE_DATA_DIR);
+ add_pixmap_directory(PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "pixmaps");
+
result &= load_main_config_parameters();
result &= g_generic_config_read(get_main_configuration());