summaryrefslogtreecommitdiffstats
path: root/src/ui/view/edit-widget.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-01-15 04:27:00 +0000
committermental <mental@users.sourceforge.net>2008-01-15 04:27:00 +0000
commit2fff772bdd81459304cae888312766fe99dfb360 (patch)
tree291896e86aa9a58e4e4080a4d4bb2a2dd1368153 /src/ui/view/edit-widget.cpp
parentwhitespace cleanup (diff)
downloadinkscape-2fff772bdd81459304cae888312766fe99dfb360.tar.gz
inkscape-2fff772bdd81459304cae888312766fe99dfb360.zip
abstract use of sodipodi:modified
(bzr r4490)
Diffstat (limited to 'src/ui/view/edit-widget.cpp')
-rw-r--r--src/ui/view/edit-widget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp
index ff8b288fd..78cf76096 100644
--- a/src/ui/view/edit-widget.cpp
+++ b/src/ui/view/edit-widget.cpp
@@ -1203,8 +1203,7 @@ EditWidget::shutdown()
return false;
SPDocument *doc = _desktop->doc();
- if (sp_document_repr_root(doc)->attribute("sodipodi:modified") != NULL)
- {
+ if (doc->isModified()) {
gchar *markup;
/// \todo FIXME !!! obviously this will have problems if the document
/// name contains markup characters