summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index ae1c82e71..ee15e480f 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -176,7 +176,7 @@ sp_document_maybe_done (SPDocument *doc, const gchar *key, const unsigned int ev
doc->collectOrphans();
- sp_document_ensure_up_to_date (doc);
+ doc->ensure_up_to_date ();
sp_document_clear_redo (doc);