diff options
| author | MenTaLguY <mental@rydia.net> | 2008-01-15 04:27:00 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-01-15 04:27:00 +0000 |
| commit | 2fff772bdd81459304cae888312766fe99dfb360 (patch) | |
| tree | 291896e86aa9a58e4e4080a4d4bb2a2dd1368153 /src/ui/view/edit-widget.cpp | |
| parent | whitespace cleanup (diff) | |
| download | inkscape-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.cpp | 3 |
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 |
