diff options
| author | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | 2010-07-02 12:35:42 +0000 |
|---|---|---|
| committer | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | 2010-07-02 12:35:42 +0000 |
| commit | d25a9a072143eafa4a9823b84e977c4b85d45efe (patch) | |
| tree | ef59162da575782282a2e127931707a63d7cbbb0 /src/file.cpp | |
| parent | C++fied SPDocument added (diff) | |
| download | inkscape-d25a9a072143eafa4a9823b84e977c4b85d45efe.tar.gz inkscape-d25a9a072143eafa4a9823b84e977c4b85d45efe.zip | |
New Class SPDocumentUndo created which takes care of c++fying some non SPDocument based methods
(bzr r9546.1.3)
Diffstat (limited to 'src/file.cpp')
| -rw-r--r-- | src/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.cpp b/src/file.cpp index 6b162c799..2344c67f2 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -560,7 +560,7 @@ sp_file_vacuum() unsigned int diff = doc->vacuum_document (); - sp_document_done(doc, SP_VERB_FILE_VACUUM, + SPDocumentUndo::done(doc, SP_VERB_FILE_VACUUM, _("Vacuum <defs>")); SPDesktop *dt = SP_ACTIVE_DESKTOP; @@ -1064,7 +1064,7 @@ file_import(SPDocument *in_doc, const Glib::ustring &uri, } doc->doUnref(); - sp_document_done(in_doc, SP_VERB_FILE_IMPORT, + SPDocumentUndo::done(in_doc, SP_VERB_FILE_IMPORT, _("Import")); } else { |
