diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-01-12 01:59:22 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-01-12 01:59:22 +0000 |
| commit | 10f55ededa291836ef120c831eac52d698440fbb (patch) | |
| tree | f377c504dd3515c4983c255782c508494207ad9d /src/display/sodipodi-ctrl.cpp | |
| parent | A few GSEAL issues (diff) | |
| download | inkscape-10f55ededa291836ef120c831eac52d698440fbb.tar.gz inkscape-10f55ededa291836ef120c831eac52d698440fbb.zip | |
Initial C++ification of SPCanvas.
(bzr r10873)
Diffstat (limited to 'src/display/sodipodi-ctrl.cpp')
| -rw-r--r-- | src/display/sodipodi-ctrl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/display/sodipodi-ctrl.cpp b/src/display/sodipodi-ctrl.cpp index a23cbd745..b4fbaefc6 100644 --- a/src/display/sodipodi-ctrl.cpp +++ b/src/display/sodipodi-ctrl.cpp @@ -1,5 +1,3 @@ -#define INKSCAPE_CTRL_C - /* * SPCtrl * @@ -232,7 +230,7 @@ sp_ctrl_update (SPCanvasItem *item, Geom::Affine const &affine, unsigned int fla if (!ctrl->_moved) return; if (ctrl->shown) { - sp_canvas_request_redraw (item->canvas, ctrl->box.left(), ctrl->box.top(), ctrl->box.right() + 1, ctrl->box.bottom() + 1); + item->canvas->requestRedraw(ctrl->box.left(), ctrl->box.top(), ctrl->box.right() + 1, ctrl->box.bottom() + 1); } if (!ctrl->defined) return; |
