summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index d67833a91..bdaae5d01 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -6,6 +6,7 @@
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak <buliabyak@users.sf.net>
+ * Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2000 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
@@ -558,7 +559,7 @@ pencil_cancel (SPPencilContext *const pc)
pc->_message_context->clear();
pc->_message_context->flash(Inkscape::NORMAL_MESSAGE, _("Drawing cancelled"));
- sp_canvas_end_forced_full_redraws(pc->desktop->canvas);
+ pc->desktop->canvas->endForcedFullRedraws();
}
static gint