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/helper | |
| 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/helper')
| -rw-r--r-- | src/helper/gettext.cpp | 2 | ||||
| -rw-r--r-- | src/helper/icon-loader.cpp | 4 | ||||
| -rw-r--r-- | src/helper/pixbuf-ops.cpp | 4 | ||||
| -rw-r--r-- | src/helper/png-write.cpp | 4 | ||||
| -rw-r--r-- | src/helper/stock-items.cpp | 4 |
5 files changed, 1 insertions, 17 deletions
diff --git a/src/helper/gettext.cpp b/src/helper/gettext.cpp index e985267b7..0bd3da06a 100644 --- a/src/helper/gettext.cpp +++ b/src/helper/gettext.cpp @@ -24,7 +24,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include "config.h" // only include where actually required! #endif #ifdef _WIN32 diff --git a/src/helper/icon-loader.cpp b/src/helper/icon-loader.cpp index 2e65ae019..5e33cd920 100644 --- a/src/helper/icon-loader.cpp +++ b/src/helper/icon-loader.cpp @@ -9,10 +9,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "icon-loader.h" #include "inkscape.h" #include "io/resource.h" diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp index daada34c3..3a853ed23 100644 --- a/src/helper/pixbuf-ops.cpp +++ b/src/helper/pixbuf-ops.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 <2geom/transforms.h> #include "ui/interface.h" diff --git a/src/helper/png-write.cpp b/src/helper/png-write.cpp index 6f5d6002e..8f6b3aeb6 100644 --- a/src/helper/png-write.cpp +++ b/src/helper/png-write.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 <png.h> #include "ui/interface.h" #include <2geom/rect.h> diff --git a/src/helper/stock-items.cpp b/src/helper/stock-items.cpp index 23259ec64..f80b3dd75 100644 --- a/src/helper/stock-items.cpp +++ b/src/helper/stock-items.cpp @@ -16,10 +16,6 @@ #define noSP_SS_VERBOSE -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <cstring> #include "path-prefix.h" |
