From ea27443b39ba61110beb152175f5f28bad514e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 24 Aug 2019 14:17:24 +0200 Subject: [PATCH] Fix #21: Rename layer-info files to layer-settings --- command-line.c | 2 +- include/gds-render/layer/layer-selector.h | 2 +- include/gds-render/layer/{layer-info.h => layer-settings.h} | 0 include/gds-render/layer/mapping-parser.h | 2 +- include/gds-render/output-renderers/cairo-renderer.h | 1 - include/gds-render/output-renderers/gds-output-renderer.h | 2 +- layer/layer-selector.c | 1 - layer/{layer-info.c => layer-settings.c} | 2 +- output-renderers/gds-output-renderer.c | 1 - output-renderers/latex-renderer.c | 1 - 10 files changed, 5 insertions(+), 9 deletions(-) rename include/gds-render/layer/{layer-info.h => layer-settings.h} (100%) rename layer/{layer-info.c => layer-settings.c} (99%) diff --git a/command-line.c b/command-line.c index 6d40d14..a27e4d0 100644 --- a/command-line.c +++ b/command-line.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/gds-render/layer/layer-selector.h b/include/gds-render/layer/layer-selector.h index 549be03..a57832b 100644 --- a/include/gds-render/layer/layer-selector.h +++ b/include/gds-render/layer/layer-selector.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include G_BEGIN_DECLS diff --git a/include/gds-render/layer/layer-info.h b/include/gds-render/layer/layer-settings.h similarity index 100% rename from include/gds-render/layer/layer-info.h rename to include/gds-render/layer/layer-settings.h diff --git a/include/gds-render/layer/mapping-parser.h b/include/gds-render/layer/mapping-parser.h index 99dddc1..cca1318 100644 --- a/include/gds-render/layer/mapping-parser.h +++ b/include/gds-render/layer/mapping-parser.h @@ -34,7 +34,7 @@ #include #include -#include +#include /** * @brief Load a line from \p stream and parse try to parse it as layer information diff --git a/include/gds-render/output-renderers/cairo-renderer.h b/include/gds-render/output-renderers/cairo-renderer.h index 35afefd..410d843 100644 --- a/include/gds-render/output-renderers/cairo-renderer.h +++ b/include/gds-render/output-renderers/cairo-renderer.h @@ -25,7 +25,6 @@ #define _CAIRO_OUTPUT_H_ #include -#include #include #include diff --git a/include/gds-render/output-renderers/gds-output-renderer.h b/include/gds-render/output-renderers/gds-output-renderer.h index 04e33b9..1f045b6 100644 --- a/include/gds-render/output-renderers/gds-output-renderer.h +++ b/include/gds-render/output-renderers/gds-output-renderer.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include G_BEGIN_DECLS diff --git a/layer/layer-selector.c b/layer/layer-selector.c index d8f4199..2ee467c 100644 --- a/layer/layer-selector.c +++ b/layer/layer-selector.c @@ -34,7 +34,6 @@ #include #include -#include #include #include #include diff --git a/layer/layer-info.c b/layer/layer-settings.c similarity index 99% rename from layer/layer-info.c rename to layer/layer-settings.c index 6340c1c..330cde8 100644 --- a/layer/layer-info.c +++ b/layer/layer-settings.c @@ -23,7 +23,7 @@ * @author Mario Hüttel */ -#include +#include #include struct _LayerSettings { diff --git a/output-renderers/gds-output-renderer.c b/output-renderers/gds-output-renderer.c index 12aedf6..e782a4f 100644 --- a/output-renderers/gds-output-renderer.c +++ b/output-renderers/gds-output-renderer.c @@ -28,7 +28,6 @@ */ #include -#include struct renderer_params { struct gds_cell *cell; diff --git a/output-renderers/latex-renderer.c b/output-renderers/latex-renderer.c index e0b21d6..cb93224 100644 --- a/output-renderers/latex-renderer.c +++ b/output-renderers/latex-renderer.c @@ -27,7 +27,6 @@ #include #include #include -#include /** * @addtogroup LaTeX-Renderer * @{