summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index 52118eb16..ea25efc22 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -712,7 +712,7 @@ spdc_flush_white(SPDrawContext *dc, SPCurve *gc)
c->unref();
/* Flush pending updates */
- sp_document_ensure_up_to_date(doc);
+ doc->ensure_up_to_date();
}
/**