[libshumate/tintou/version] meson: Remove config.h
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate/tintou/version] meson: Remove config.h
- Date: Wed, 8 Sep 2021 07:38:00 +0000 (UTC)
commit 94d7c87cbf54645186d23e3dc235674706f8eb28
Author: Corentin Noël <corentin noel collabora com>
Date: Wed Sep 8 09:37:23 2021 +0200
meson: Remove config.h
It has been replaced by project-wide compiler flag.
meson.build | 8 --------
shumate/shumate-compass.c | 2 --
shumate/shumate-coordinate.c | 1 -
shumate/shumate-license.c | 2 --
shumate/shumate-map.c | 2 --
shumate/shumate-marker-layer.c | 2 --
shumate/shumate-marker.c | 2 --
shumate/shumate-network-tile-source.c | 2 --
shumate/shumate-path-layer.c | 2 --
shumate/shumate-scale.c | 2 --
10 files changed, 25 deletions(-)
---
diff --git a/meson.build b/meson.build
index e4e6b26..1cd5e5e 100644
--- a/meson.build
+++ b/meson.build
@@ -82,14 +82,6 @@ if get_option('gtk_doc')
endif
add_project_arguments('-DSHUMATE_VERSION="@0@"'.format(meson.project_version()), language: 'c')
-# Configurations
-config_h = configuration_data()
-config_h.set_quoted('SHUMATE_VERSION', version)
-
-configure_file(
- output: 'config.h',
- configuration: config_h
-)
# Options
build_demos = get_option('demos')
diff --git a/shumate/shumate-compass.c b/shumate/shumate-compass.c
index 7fdc96c..b43ab0f 100644
--- a/shumate/shumate-compass.c
+++ b/shumate/shumate-compass.c
@@ -35,8 +35,6 @@
* image named "map-compass".
*/
-#include "config.h"
-
#include "shumate-compass.h"
struct _ShumateCompass
diff --git a/shumate/shumate-coordinate.c b/shumate/shumate-coordinate.c
index b8f24d0..8dc59e8 100644
--- a/shumate/shumate-coordinate.c
+++ b/shumate/shumate-coordinate.c
@@ -26,7 +26,6 @@
#include "shumate-coordinate.h"
-#include "config.h"
#include "shumate-marshal.h"
#include "shumate-location.h"
diff --git a/shumate/shumate-license.c b/shumate/shumate-license.c
index 2a7b541..37f7239 100644
--- a/shumate/shumate-license.c
+++ b/shumate/shumate-license.c
@@ -24,8 +24,6 @@
* An actor that displays license text.
*/
-#include "config.h"
-
#include "shumate-license.h"
enum
diff --git a/shumate/shumate-map.c b/shumate/shumate-map.c
index b3a57cf..64bb2d6 100644
--- a/shumate/shumate-map.c
+++ b/shumate/shumate-map.c
@@ -46,8 +46,6 @@
* an error occurs during download, an error tile will be displayed.
*/
-#include "config.h"
-
#include "shumate-map.h"
#include "shumate.h"
diff --git a/shumate/shumate-marker-layer.c b/shumate/shumate-marker-layer.c
index fe97e06..f8bfab9 100644
--- a/shumate/shumate-marker-layer.c
+++ b/shumate/shumate-marker-layer.c
@@ -26,8 +26,6 @@
* positioning markers correctly, marker selections and group marker operations.
*/
-#include "config.h"
-
#include "shumate-marker-layer.h"
#include "shumate-marker-private.h"
diff --git a/shumate/shumate-marker.c b/shumate/shumate-marker.c
index 88eb3e4..78b956f 100644
--- a/shumate/shumate-marker.c
+++ b/shumate/shumate-marker.c
@@ -34,8 +34,6 @@
* type of markers with text and image support.
*/
-#include "config.h"
-
#include "shumate-marker.h"
#include "shumate-marker-private.h"
diff --git a/shumate/shumate-network-tile-source.c b/shumate/shumate-network-tile-source.c
index 3465341..72cd1a6 100644
--- a/shumate/shumate-network-tile-source.c
+++ b/shumate/shumate-network-tile-source.c
@@ -30,8 +30,6 @@
* see #ShumateMapSourceFactory.
*/
-#include "config.h"
-
#include "shumate-network-tile-source.h"
#include "shumate.h"
diff --git a/shumate/shumate-path-layer.c b/shumate/shumate-path-layer.c
index d61cc2f..73b0bce 100644
--- a/shumate/shumate-path-layer.c
+++ b/shumate/shumate-path-layer.c
@@ -30,8 +30,6 @@
* can be used as well.
*/
-#include "config.h"
-
#include "shumate-path-layer.h"
#include "shumate-enum-types.h"
diff --git a/shumate/shumate-scale.c b/shumate/shumate-scale.c
index 9cef5a1..1eeb816 100644
--- a/shumate/shumate-scale.c
+++ b/shumate/shumate-scale.c
@@ -37,8 +37,6 @@
*/
-#include "config.h"
-
#include "shumate-scale.h"
#include "shumate-enum-types.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]