diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-02-12 12:52:54 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-02-12 12:52:54 +0000 |
| commit | 1a07fd6edf2b00e740587a897a2f2a881844550e (patch) | |
| tree | c7750c5d3cd5a30e070ea8be368fd010786ab205 /src/helper | |
| parent | Update .gitlab-ci.yml (diff) | |
| download | inkscape-1a07fd6edf2b00e740587a897a2f2a881844550e.tar.gz inkscape-1a07fd6edf2b00e740587a897a2f2a881844550e.zip | |
Header cleanup.
Diffstat (limited to 'src/helper')
| -rw-r--r-- | src/helper/pixbuf-ops.cpp | 1 | ||||
| -rw-r--r-- | src/helper/png-write.cpp | 25 | ||||
| -rw-r--r-- | src/helper/png-write.h | 2 |
3 files changed, 17 insertions, 11 deletions
diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp index cfb6f8836..e29234c24 100644 --- a/src/helper/pixbuf-ops.cpp +++ b/src/helper/pixbuf-ops.cpp @@ -14,7 +14,6 @@ #include <2geom/transforms.h> -#include "ui/interface.h" #include "helper/png-write.h" #include "display/cairo-utils.h" #include "display/drawing.h" diff --git a/src/helper/png-write.cpp b/src/helper/png-write.cpp index 6af505278..1f1b89625 100644 --- a/src/helper/png-write.cpp +++ b/src/helper/png-write.cpp @@ -14,25 +14,30 @@ * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ -#include <png.h> -#include "ui/interface.h" + #include <2geom/rect.h> #include <2geom/transforms.h> -#include "png-write.h" -#include "io/sys.h" -#include "display/drawing.h" -#include "display/drawing-context.h" -#include "display/cairo-utils.h" + +#include <png.h> + #include "document.h" +#include "inkscape.h" +#include "png-write.h" #include "preferences.h" #include "rdf.h" -#include "util/units.h" -#include "inkscape.h" +#include "display/cairo-utils.h" +#include "display/drawing-context.h" +#include "display/drawing.h" + +#include "io/sys.h" +#include "object/sp-defs.h" #include "object/sp-item.h" #include "object/sp-root.h" -#include "object/sp-defs.h" + +#include "ui/interface.h" +#include "util/units.h" /* This is an example of how to use libpng to read and write PNG files. * The file libpng.txt is much more verbose then this. If you have not diff --git a/src/helper/png-write.h b/src/helper/png-write.h index 8d1aa97e9..c11ee7725 100644 --- a/src/helper/png-write.h +++ b/src/helper/png-write.h @@ -15,6 +15,8 @@ * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ +#include <glib.h> // Only for gchar. + #include <2geom/forward.h> class SPDocument; |
