diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-07-05 11:28:36 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-07-05 11:28:36 +0000 |
| commit | ead55a54d3ca8f822969180cadcb2b14f78aec93 (patch) | |
| tree | 6422564d837d9d4b8aa4762703c9eb8ef2bc44ae /src/ui/widget/page-sizer.cpp | |
| parent | Make handle colour a configurable property. (diff) | |
| parent | Fix for builds without --enable-dbusapi (missing #ifdef) (diff) | |
| download | inkscape-ead55a54d3ca8f822969180cadcb2b14f78aec93.tar.gz inkscape-ead55a54d3ca8f822969180cadcb2b14f78aec93.zip | |
Merge: Command-line and DBus refactoring to improve inkscapes ability to be run headless.
(bzr r12402)
Diffstat (limited to 'src/ui/widget/page-sizer.cpp')
| -rw-r--r-- | src/ui/widget/page-sizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp index fa3f8e3a1..988c4e5de 100644 --- a/src/ui/widget/page-sizer.cpp +++ b/src/ui/widget/page-sizer.cpp @@ -36,6 +36,7 @@ #include "document.h" #include "desktop.h" #include "helper/action.h" +#include "helper/action-context.h" #include "helper/units.h" #include "inkscape.h" #include "sp-namedview.h" @@ -619,7 +620,7 @@ PageSizer::fire_fit_canvas_to_selection_or_drawing() Verb *verb = Verb::get( SP_VERB_FIT_CANVAS_TO_SELECTION_OR_DRAWING ); if (verb) { - SPAction *action = verb->get_action(dt); + SPAction *action = verb->get_action(Inkscape::ActionContext(dt)); if (action) { sp_action_perform(action, NULL); } |
