From 7cbfe202efaa0d3a36cfbb99abdd09d8cc25efc4 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 23 Sep 2018 17:14:48 +0200 Subject: Remove #include "config.h" from header files where possible --- src/ui/dialog/calligraphic-profile-rename.h | 4 ---- src/ui/dialog/document-metadata.h | 4 ---- src/ui/dialog/filedialogimpl-win32.h | 3 --- src/ui/dialog/find.h | 4 ---- src/ui/dialog/guides.h | 4 ---- src/ui/dialog/inkscape-preferences.h | 4 ---- src/ui/dialog/layer-properties.h | 4 ---- src/ui/dialog/layers.h | 4 ---- src/ui/dialog/object-properties.h | 4 ---- src/ui/dialog/objects.h | 4 ---- src/ui/dialog/ocaldialogs.h | 4 ---- src/ui/dialog/panel-dialog.h | 4 ---- src/ui/dialog/polar-arrange-tab.h | 4 ---- src/ui/dialog/prototype.h | 4 ---- src/ui/dialog/text-edit.h | 4 ---- src/ui/dialog/tile.h | 4 ---- src/ui/dialog/xml-tree.h | 4 ---- 17 files changed, 67 deletions(-) (limited to 'src/ui/dialog') diff --git a/src/ui/dialog/calligraphic-profile-rename.h b/src/ui/dialog/calligraphic-profile-rename.h index 0e5bce9ba..b8d15b9c6 100644 --- a/src/ui/dialog/calligraphic-profile-rename.h +++ b/src/ui/dialog/calligraphic-profile-rename.h @@ -11,10 +11,6 @@ #ifndef INKSCAPE_DIALOG_CALLIGRAPHIC_PROFILE_H #define INKSCAPE_DIALOG_CALLIGRAPHIC_PROFILE_H -#if HAVE_CONFIG_H -# include "config.h" -#endif - #include #include #include diff --git a/src/ui/dialog/document-metadata.h b/src/ui/dialog/document-metadata.h index 1696bdb15..34f5bf5a3 100644 --- a/src/ui/dialog/document-metadata.h +++ b/src/ui/dialog/document-metadata.h @@ -13,10 +13,6 @@ #ifndef INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H #define INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include #include "ui/widget/panel.h" diff --git a/src/ui/dialog/filedialogimpl-win32.h b/src/ui/dialog/filedialogimpl-win32.h index b254c3ef6..182247703 100644 --- a/src/ui/dialog/filedialogimpl-win32.h +++ b/src/ui/dialog/filedialogimpl-win32.h @@ -9,9 +9,6 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ -#if HAVE_CONFIG_H -# include "config.h" -#endif #include diff --git a/src/ui/dialog/find.h b/src/ui/dialog/find.h index d4b8fb661..397f8b587 100644 --- a/src/ui/dialog/find.h +++ b/src/ui/dialog/find.h @@ -12,10 +12,6 @@ #ifndef INKSCAPE_UI_DIALOG_FIND_H #define INKSCAPE_UI_DIALOG_FIND_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include "ui/widget/panel.h" #include "ui/widget/button.h" #include "ui/widget/entry.h" diff --git a/src/ui/dialog/guides.h b/src/ui/dialog/guides.h index aacbbce22..e1dc397a2 100644 --- a/src/ui/dialog/guides.h +++ b/src/ui/dialog/guides.h @@ -11,10 +11,6 @@ #ifndef INKSCAPE_DIALOG_GUIDELINE_H #define INKSCAPE_DIALOG_GUIDELINE_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index adcfca358..2aa76d9dd 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -15,10 +15,6 @@ #ifndef INKSCAPE_UI_DIALOG_INKSCAPE_PREFERENCES_H #define INKSCAPE_UI_DIALOG_INKSCAPE_PREFERENCES_H -#if HAVE_CONFIG_H -# include "config.h" -#endif - #include #include #include "ui/widget/preferences-widget.h" diff --git a/src/ui/dialog/layer-properties.h b/src/ui/dialog/layer-properties.h index f263f383b..8d3500910 100644 --- a/src/ui/dialog/layer-properties.h +++ b/src/ui/dialog/layer-properties.h @@ -12,10 +12,6 @@ #ifndef INKSCAPE_DIALOG_LAYER_PROPERTIES_H #define INKSCAPE_DIALOG_LAYER_PROPERTIES_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include #include diff --git a/src/ui/dialog/layers.h b/src/ui/dialog/layers.h index 89864664d..eb115d5e4 100644 --- a/src/ui/dialog/layers.h +++ b/src/ui/dialog/layers.h @@ -12,10 +12,6 @@ #ifndef SEEN_LAYERS_PANEL_H #define SEEN_LAYERS_PANEL_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include #include diff --git a/src/ui/dialog/object-properties.h b/src/ui/dialog/object-properties.h index f603219c4..bc501c68e 100644 --- a/src/ui/dialog/object-properties.h +++ b/src/ui/dialog/object-properties.h @@ -29,10 +29,6 @@ #ifndef SEEN_DIALOGS_ITEM_PROPERTIES_H #define SEEN_DIALOGS_ITEM_PROPERTIES_H -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include "ui/widget/panel.h" #include "ui/widget/frame.h" diff --git a/src/ui/dialog/objects.h b/src/ui/dialog/objects.h index 13b632f61..95e9863a9 100644 --- a/src/ui/dialog/objects.h +++ b/src/ui/dialog/objects.h @@ -14,10 +14,6 @@ #ifndef SEEN_OBJECTS_PANEL_H #define SEEN_OBJECTS_PANEL_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include #include diff --git a/src/ui/dialog/ocaldialogs.h b/src/ui/dialog/ocaldialogs.h index ebae47a1b..15513bd26 100644 --- a/src/ui/dialog/ocaldialogs.h +++ b/src/ui/dialog/ocaldialogs.h @@ -13,10 +13,6 @@ #ifndef __OCAL_DIALOG_H__ #define __OCAL_DIALOG_H__ -#ifdef HAVE_CONFIG_H -# include -#endif - // Gtkmm includes #include #include diff --git a/src/ui/dialog/panel-dialog.h b/src/ui/dialog/panel-dialog.h index 0a8704445..9faa8b69d 100644 --- a/src/ui/dialog/panel-dialog.h +++ b/src/ui/dialog/panel-dialog.h @@ -11,10 +11,6 @@ #ifndef INKSCAPE_PANEL_DIALOG_H #define INKSCAPE_PANEL_DIALOG_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include diff --git a/src/ui/dialog/polar-arrange-tab.h b/src/ui/dialog/polar-arrange-tab.h index 0df26423a..32f7c8ab3 100644 --- a/src/ui/dialog/polar-arrange-tab.h +++ b/src/ui/dialog/polar-arrange-tab.h @@ -10,10 +10,6 @@ #ifndef INKSCAPE_UI_DIALOG_POLAR_ARRANGE_TAB_H #define INKSCAPE_UI_DIALOG_POLAR_ARRANGE_TAB_H -#if HAVE_CONFIG_H - #include "config.h" -#endif - #include "ui/widget/scalar-unit.h" #include "ui/widget/anchor-selector.h" #include "ui/dialog/arrange-tab.h" diff --git a/src/ui/dialog/prototype.h b/src/ui/dialog/prototype.h index ee955d59b..001e3d39f 100644 --- a/src/ui/dialog/prototype.h +++ b/src/ui/dialog/prototype.h @@ -12,10 +12,6 @@ #ifndef SEEN_PROTOTYPE_PANEL_H #define SEEN_PROTOTYPE_PANEL_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include "ui/widget/panel.h" #include "ui/dialog/desktop-tracker.h" diff --git a/src/ui/dialog/text-edit.h b/src/ui/dialog/text-edit.h index f6ca8cdd3..f95b44eda 100644 --- a/src/ui/dialog/text-edit.h +++ b/src/ui/dialog/text-edit.h @@ -18,10 +18,6 @@ #ifndef INKSCAPE_UI_DIALOG_TEXT_EDIT_H #define INKSCAPE_UI_DIALOG_TEXT_EDIT_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include #include diff --git a/src/ui/dialog/tile.h b/src/ui/dialog/tile.h index 70e4770f7..765bc9652 100644 --- a/src/ui/dialog/tile.h +++ b/src/ui/dialog/tile.h @@ -16,10 +16,6 @@ #ifndef SEEN_UI_DIALOG_TILE_H #define SEEN_UI_DIALOG_TILE_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include #include #include diff --git a/src/ui/dialog/xml-tree.h b/src/ui/dialog/xml-tree.h index d5049bb84..e7f260b4b 100644 --- a/src/ui/dialog/xml-tree.h +++ b/src/ui/dialog/xml-tree.h @@ -13,10 +13,6 @@ #ifndef SEEN_DIALOGS_XML_TREE_H #define SEEN_DIALOGS_XML_TREE_H -#ifdef HAVE_CONFIG_H -# include -#endif - #include "ui/widget/panel.h" #include #include -- cgit v1.2.3