summaryrefslogtreecommitdiffstats
path: root/src/text-chemistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text-chemistry.cpp')
-rw-r--r--src/text-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 166799e38..2cc6e30d9 100644
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
@@ -139,7 +139,7 @@ text_put_on_path()
Inkscape::GC::release(repr);
text->deleteObject(); // delete the orignal flowtext
- sp_document_ensure_up_to_date(sp_desktop_document(desktop));
+ sp_desktop_document(desktop)->ensure_up_to_date();
selection->clear();