From a4d0a358424440128cd4c4fb2915ccc4b86f4587 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 5 May 2011 23:21:51 -0700 Subject: Adding initial cut of resource manager. (bzr r10198) --- src/document-undo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/document-undo.h') 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); -- cgit v1.2.3