From 91112f9d55017b82caa02a3c4673a8420a361801 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 14 Dec 2018 10:05:39 +0000 Subject: DocumentUndo::ScopedInsensitive --- src/document-undo.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/document-undo.cpp') diff --git a/src/document-undo.cpp b/src/document-undo.cpp index 9753c4970..d41771f06 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -78,13 +78,6 @@ void Inkscape::DocumentUndo::setUndoSensitive(SPDocument *doc, bool sensitive) doc->sensitive = sensitive; } -/*TODO: Throughout the inkscape code tree set/get_undo_sensitive are used for - * as is shown above. Perhaps it makes sense to create new functions, - * undo_ignore, and undo_recall to replace the start and end parts of the above. - * The main complexity with this is that they have to nest, so you have to store - * the saved bools in a stack. Perhaps this is why the above solution is better. - */ - bool Inkscape::DocumentUndo::getUndoSensitive(SPDocument const *document) { g_assert(document != nullptr); -- cgit v1.2.3