summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2016-11-06 15:33:01 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-11-06 15:33:01 +0000
commit68c305f169dfe9a273e29dd2aa587f0d59071483 (patch)
tree19a923f03230794f9d064b4d4fddf2edcdc83a31 /src/verbs.cpp
parentMinor tweak (diff)
downloadinkscape-68c305f169dfe9a273e29dd2aa587f0d59071483.tar.gz
inkscape-68c305f169dfe9a273e29dd2aa587f0d59071483.zip
further cppification
Fixed bugs: - https://launchpad.net/bugs/1306662 (bzr r15218)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index dc92545e2..c2167f67c 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -2359,7 +2359,7 @@ void FitCanvasVerb::perform(SPAction *action, void *data)
switch (reinterpret_cast<std::size_t>(data)) {
case SP_VERB_FIT_CANVAS_TO_SELECTION:
- verb_fit_canvas_to_selection(dt);
+ dt->selection->fitCanvas(true);
break;
case SP_VERB_FIT_CANVAS_TO_DRAWING:
verb_fit_canvas_to_drawing(dt);