diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-09-30 23:49:49 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2018-10-01 22:50:12 +0000 |
| commit | 71f15d1e96dab3a48fd8e544561f1830795b56ed (patch) | |
| tree | 43579c16ebba5afc977b059b9ddc057e40fb4dae /src/widgets | |
| parent | Use _WIN32 instead of WIN32 (diff) | |
| download | inkscape-71f15d1e96dab3a48fd8e544561f1830795b56ed.tar.gz inkscape-71f15d1e96dab3a48fd8e544561f1830795b56ed.zip | |
Remove #include "config.h" wherever possible
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/dash-selector.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/desktop-widget.cpp | 2 | ||||
| -rw-r--r-- | src/widgets/eek-preview.cpp | 3 | ||||
| -rw-r--r-- | src/widgets/ege-paint-def.cpp | 2 | ||||
| -rw-r--r-- | src/widgets/fill-style.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/gimp/gimpcolorwheel.c | 2 | ||||
| -rw-r--r-- | src/widgets/gradient-selector.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/gradient-vector.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/paint-selector.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/sp-attribute-widget.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/sp-color-selector.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/spinbutton-events.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/spw-utilities.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/stroke-marker-selector.cpp | 4 | ||||
| -rw-r--r-- | src/widgets/toolbox.cpp | 4 |
15 files changed, 1 insertions, 52 deletions
diff --git a/src/widgets/dash-selector.cpp b/src/widgets/dash-selector.cpp index b2401fa93..3e65ae0f2 100644 --- a/src/widgets/dash-selector.cpp +++ b/src/widgets/dash-selector.cpp @@ -12,10 +12,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "dash-selector.h" #include <cstring> diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index d11943aa7..35a9df65b 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -21,7 +21,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include "config.h" // only include where actually required! #endif #include <gtkmm/cssprovider.h> diff --git a/src/widgets/eek-preview.cpp b/src/widgets/eek-preview.cpp index d7cbc8991..201afa97b 100644 --- a/src/widgets/eek-preview.cpp +++ b/src/widgets/eek-preview.cpp @@ -33,9 +33,6 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif #include <algorithm> using std::min; diff --git a/src/widgets/ege-paint-def.cpp b/src/widgets/ege-paint-def.cpp index 83492329c..6ba5e3b6f 100644 --- a/src/widgets/ege-paint-def.cpp +++ b/src/widgets/ege-paint-def.cpp @@ -34,8 +34,6 @@ * * ***** END LICENSE BLOCK ***** */ -#include "config.h" - #include <libintl.h> #include <cstdint> diff --git a/src/widgets/fill-style.cpp b/src/widgets/fill-style.cpp index 673293509..8e419f20e 100644 --- a/src/widgets/fill-style.cpp +++ b/src/widgets/fill-style.cpp @@ -18,10 +18,6 @@ #define noSP_FS_VERBOSE -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <gtkmm/box.h> #include <glibmm/i18n.h> diff --git a/src/widgets/gimp/gimpcolorwheel.c b/src/widgets/gimp/gimpcolorwheel.c index 60e2a51c5..51d2c7e1c 100644 --- a/src/widgets/gimp/gimpcolorwheel.c +++ b/src/widgets/gimp/gimpcolorwheel.c @@ -38,8 +38,6 @@ * Gtk+ 3 code merge: commit bcfc6, gtk3-port branch (2013-01-06) */ -#include "config.h" - #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> diff --git a/src/widgets/gradient-selector.cpp b/src/widgets/gradient-selector.cpp index 10b1ecf04..626fbb2b7 100644 --- a/src/widgets/gradient-selector.cpp +++ b/src/widgets/gradient-selector.cpp @@ -13,10 +13,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glibmm/i18n.h> #include <gtkmm/treeview.h> diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp index 8aba394e9..b15275d62 100644 --- a/src/widgets/gradient-vector.cpp +++ b/src/widgets/gradient-vector.cpp @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <set> #include <glibmm.h> diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp index 3b93f20f5..a3a24470e 100644 --- a/src/widgets/paint-selector.cpp +++ b/src/widgets/paint-selector.cpp @@ -17,10 +17,6 @@ #define noSP_PS_VERBOSE -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <cstring> #include <string> #include <vector> diff --git a/src/widgets/sp-attribute-widget.cpp b/src/widgets/sp-attribute-widget.cpp index cb78f5a58..767692b1e 100644 --- a/src/widgets/sp-attribute-widget.cpp +++ b/src/widgets/sp-attribute-widget.cpp @@ -12,10 +12,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <glibmm/i18n.h> #include <gtkmm/entry.h> #include <gtkmm/grid.h> diff --git a/src/widgets/sp-color-selector.cpp b/src/widgets/sp-color-selector.cpp index f4931e5e9..8d57ddee6 100644 --- a/src/widgets/sp-color-selector.cpp +++ b/src/widgets/sp-color-selector.cpp @@ -3,10 +3,6 @@ * Jon A. Cruz <jon@joncruz.org> */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <cmath> #include <gtk/gtk.h> #include <glibmm/i18n.h> diff --git a/src/widgets/spinbutton-events.cpp b/src/widgets/spinbutton-events.cpp index 9666fc636..47c59207a 100644 --- a/src/widgets/spinbutton-events.cpp +++ b/src/widgets/spinbutton-events.cpp @@ -11,10 +11,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> diff --git a/src/widgets/spw-utilities.cpp b/src/widgets/spw-utilities.cpp index 0dc041f80..3794daaf2 100644 --- a/src/widgets/spw-utilities.cpp +++ b/src/widgets/spw-utilities.cpp @@ -10,10 +10,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <cstring> #include <string> diff --git a/src/widgets/stroke-marker-selector.cpp b/src/widgets/stroke-marker-selector.cpp index 006589a33..5fe3adc33 100644 --- a/src/widgets/stroke-marker-selector.cpp +++ b/src/widgets/stroke-marker-selector.cpp @@ -12,10 +12,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include "stroke-marker-selector.h" #include <glibmm/i18n.h> diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 8c6b7612e..0edb86053 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -26,10 +26,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <gtkmm/box.h> #include <gtkmm/action.h> #include <gtkmm/actiongroup.h> |
