summaryrefslogtreecommitdiff
path: root/src/gui/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-10-23 16:22:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-10-23 18:53:25 (GMT)
commit56f7524c4fd0fc14a509be7689f4820b31564dbc (patch)
tree9c84e11279cd5711a4e0af907ca6160b62317528 /src/gui/core
parent3f05bacd4fec23824489b51d964a7ce3565bb85b (diff)
Deleted a level of data to reduce the memory fingerprint.
Diffstat (limited to 'src/gui/core')
-rw-r--r--src/gui/core/core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/core/core.c b/src/gui/core/core.c
index dbff1b8..c2a235f 100644
--- a/src/gui/core/core.c
+++ b/src/gui/core/core.c
@@ -28,7 +28,7 @@
#include "../../core/params.h"
-#include "../../glibext/gbuffersegment.h"
+#include "../../glibext/linesegment.h"
@@ -48,7 +48,9 @@ bool load_all_gui_components(GObject *ref)
{
bool result; /* Bilan à retourner */
- result = init_segment_content_hash_table();
+ result = load_segment_rendering_parameters();
+
+ result &= init_segment_content_hash_table();
if (result)
load_main_panels(ref);