summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-01-13 02:27:04 +0000
committertweenk <tweenk@users.sourceforge.net>2009-01-13 02:27:04 +0000
commita3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 (patch)
tree9efdab733f1ae2b3580143a0e1c91a934a020712 /src/document.cpp
parentLatest set of tango icons (by jEsuSdA 8) ) (diff)
downloadinkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.tar.gz
inkscape-a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50.zip
Improved version reporting. Add SVN revision and custom status to
version string on Linux. (bzr r7123)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 733dadb69..5b27272c6 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -45,7 +45,7 @@
#include "xml/repr.h"
#include "helper/units.h"
#include "inkscape-private.h"
-#include "inkscape_version.h"
+#include "inkscape-version.h"
#include "sp-object-repr.h"
#include "sp-namedview.h"
#include "desktop.h"
@@ -291,7 +291,7 @@ sp_document_create(Inkscape::XML::Document *rdoc,
/* fixme: Not sure about this, but lets assume ::build updates */
rroot->setAttribute("sodipodi:version", SODIPODI_VERSION);
- rroot->setAttribute("inkscape:version", INKSCAPE_VERSION);
+ rroot->setAttribute("inkscape:version", Inkscape::version_string);
/* fixme: Again, I moved these here to allow version determining in ::build (Lauris) */
/* Quick hack 2 - get default image size into document */