summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2012-01-12 01:59:22 +0000
committerJon A. Cruz <jon@joncruz.org>2012-01-12 01:59:22 +0000
commit10f55ededa291836ef120c831eac52d698440fbb (patch)
treef377c504dd3515c4983c255782c508494207ad9d /src/tweak-context.cpp
parentA few GSEAL issues (diff)
downloadinkscape-10f55ededa291836ef120c831eac52d698440fbb.tar.gz
inkscape-10f55ededa291836ef120c831eac52d698440fbb.zip
Initial C++ification of SPCanvas.
(bzr r10873)
Diffstat (limited to 'src/tweak-context.cpp')
-rw-r--r--src/tweak-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index bd106a1bf..c95657fcb 100644
--- a/src/tweak-context.cpp
+++ b/src/tweak-context.cpp
@@ -1202,7 +1202,7 @@ sp_tweak_context_root_handler(SPEventContext *event_context,
sp_tweak_extinput(tc, event);
- sp_canvas_force_full_redraw_after_interruptions(desktop->canvas, 3);
+ desktop->canvas->forceFullRedrawAfterInterruptions(3);
tc->is_drawing = true;
tc->is_dilating = true;
tc->has_dilated = false;
@@ -1249,7 +1249,7 @@ sp_tweak_context_root_handler(SPEventContext *event_context,
Geom::Point const motion_w(event->button.x, event->button.y);
Geom::Point const motion_dt(desktop->w2d(motion_w));
- sp_canvas_end_forced_full_redraws(desktop->canvas);
+ desktop->canvas->endForcedFullRedraws();
tc->is_drawing = false;
if (tc->is_dilating && event->button.button == 1 && !event_context->space_panning) {