From 10f55ededa291836ef120c831eac52d698440fbb Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 11 Jan 2012 17:59:22 -0800 Subject: Initial C++ification of SPCanvas. (bzr r10873) --- src/tweak-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tweak-context.cpp') 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) { -- cgit v1.2.3