summaryrefslogtreecommitdiffstats
path: root/src/document-undo.h
diff options
context:
space:
mode:
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);