summaryrefslogtreecommitdiffstats
path: root/src/document-undo.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-05-06 06:21:51 +0000
committerJon A. Cruz <jon@joncruz.org>2011-05-06 06:21:51 +0000
commita4d0a358424440128cd4c4fb2915ccc4b86f4587 (patch)
tree818fc169950e0076d262bd8e633976afaafd7783 /src/document-undo.h
parentsymbol rendering fix bug:705345 (diff)
downloadinkscape-a4d0a358424440128cd4c4fb2915ccc4b86f4587.tar.gz
inkscape-a4d0a358424440128cd4c4fb2915ccc4b86f4587.zip
Adding initial cut of resource manager.
(bzr r10198)
Diffstat (limited to 'src/document-undo.h')
-rw-r--r--src/document-undo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/document-undo.h b/src/document-undo.h
index 9be260fa2..e4f0d15a8 100644
--- a/src/document-undo.h
+++ b/src/document-undo.h
@@ -15,10 +15,10 @@ public:
* Since undo sensitivity needs to be nested, setting undo sensitivity
* should be done like this:
*\verbatim
- bool saved = sp_document_get_undo_sensitive(document);
- sp_document_set_undo_sensitive(document, false);
+ bool saved = DocumentUndo::getUndoSensitive(document);
+ DocumentUndo::setUndoSensitive(document, false);
... do stuff ...
- sp_document_set_undo_sensitive(document, saved); \endverbatim
+ DocumentUndo::setUndoSensitive(document, saved); \endverbatim
*/
static void setUndoSensitive(SPDocument *doc, bool sensitive);