summaryrefslogtreecommitdiffstats
path: root/src/helper
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-14 01:33:10 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-14 01:33:10 +0000
commitef951d8fabfa365f8ccc8510b912d904ac94a331 (patch)
treeafb11885a38cffdfa9cdcb0c3c684a60901d9aaf /src/helper
parentFix build failure with clang. Thanks to Samuel Chase for patch (leaks fixed). (diff)
downloadinkscape-ef951d8fabfa365f8ccc8510b912d904ac94a331.tar.gz
inkscape-ef951d8fabfa365f8ccc8510b912d904ac94a331.zip
Kill ancient gcc version check in configure.ac and fix a load of broken forward declarations
(bzr r12203)
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/pixbuf-ops.h2
-rw-r--r--src/helper/png-write.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/pixbuf-ops.h b/src/helper/pixbuf-ops.h
index af573277c..44851d388 100644
--- a/src/helper/pixbuf-ops.h
+++ b/src/helper/pixbuf-ops.h
@@ -14,7 +14,7 @@
#include <glib.h>
-struct SPDocument;
+class SPDocument;
bool sp_export_jpg_file (SPDocument *doc, gchar const *filename, double x0, double y0, double x1, double y1,
unsigned int width, unsigned int height, double xdpi, double ydpi, unsigned long bgcolor, double quality, GSList *items_only = NULL);
diff --git a/src/helper/png-write.h b/src/helper/png-write.h
index a8658ef88..8c04b25dc 100644
--- a/src/helper/png-write.h
+++ b/src/helper/png-write.h
@@ -16,7 +16,7 @@
#include <glib.h>
#include <2geom/forward.h>
-struct SPDocument;
+class SPDocument;
enum ExportResult {
EXPORT_ERROR = 0,