summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-12-14 10:05:39 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-12-14 10:05:39 +0000
commit91112f9d55017b82caa02a3c4673a8420a361801 (patch)
tree6f72e874054ed63bfbab5a2b9e1f34b56d842c53 /src/document-undo.cpp
parentextract_uri: fix, test, document (diff)
downloadinkscape-91112f9d55017b82caa02a3c4673a8420a361801.tar.gz
inkscape-91112f9d55017b82caa02a3c4673a8420a361801.zip
DocumentUndo::ScopedInsensitive
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp7
1 files changed, 0 insertions, 7 deletions
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);