summaryrefslogtreecommitdiffstats
path: root/src/sp-root.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-root.h')
-rw-r--r--src/sp-root.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/sp-root.h b/src/sp-root.h
index 882b0e1bf..4a37840d9 100644
--- a/src/sp-root.h
+++ b/src/sp-root.h
@@ -18,6 +18,7 @@
#include "svg/svg-length.h"
#include "sp-item-group.h"
#include "viewbox.h"
+#include "sp-dimensions.h"
#define SP_ROOT(obj) (dynamic_cast<SPRoot*>((SPObject*)obj))
#define SP_IS_ROOT(obj) (dynamic_cast<const SPRoot*>((SPObject*)obj) != NULL)
@@ -25,7 +26,7 @@
class SPDefs;
/** \<svg\> element */
-class SPRoot : public SPGroup, public SPViewBox {
+class SPRoot : public SPGroup, public SPViewBox, public SPDimensions {
public:
SPRoot();
virtual ~SPRoot();
@@ -35,11 +36,6 @@ public:
Inkscape::Version inkscape;
} version, original;
- SVGLength x;
- SVGLength y;
- SVGLength width;
- SVGLength height;
-
char *onload;
/**