From a3648f82f9e66ecc2dd355e9d0c5b2f3e66b9b50 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Tue, 13 Jan 2009 02:27:04 +0000 Subject: Improved version reporting. Add SVN revision and custom status to version string on Linux. (bzr r7123) --- src/document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/document.cpp') 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 */ -- cgit v1.2.3