diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/core/core.c | 6 | ||||
-rw-r--r-- | src/gui/dialogs/export.c | 2 |
2 files changed, 5 insertions, 3 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); diff --git a/src/gui/dialogs/export.c b/src/gui/dialogs/export.c index 0d7a12b..5f05031 100644 --- a/src/gui/dialogs/export.c +++ b/src/gui/dialogs/export.c @@ -338,7 +338,7 @@ static void do_binary_export(GCodeBuffer *buffer, const vmpa2t *start, const vmp dprintf(ctx->fd, "\tpadding-left: 8px;\n"); dprintf(ctx->fd, "\tpadding-right: 8px;\n"); dprintf(ctx->fd, "}\n"); - g_buffer_segment_export_style(ctx, type); + export_line_segment_style(ctx, type); dprintf(ctx->fd, "</STYLE>\n"); dprintf(ctx->fd, "<TABLE>\n"); break; |