diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-07-05 15:46:24 +0000 |
|---|---|---|
| committer | Javiertxo <jtx@jtx.marker.es> | 2013-07-05 15:46:24 +0000 |
| commit | c0503c1a2b9a5f7a4030a664ca5a324ce38c967a (patch) | |
| tree | 9bc6d203a70155251a7a50210abe236cc2277d11 /src/widgets/select-toolbar.cpp | |
| parent | Upadate to trunk (diff) | |
| parent | Merge: Command-line and DBus refactoring to improve inkscapes ability to be r... (diff) | |
| download | inkscape-c0503c1a2b9a5f7a4030a664ca5a324ce38c967a.tar.gz inkscape-c0503c1a2b9a5f7a4030a664ca5a324ce38c967a.zip | |
Update to trunk
(bzr r11950.1.123)
Diffstat (limited to 'src/widgets/select-toolbar.cpp')
| -rw-r--r-- | src/widgets/select-toolbar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/select-toolbar.cpp b/src/widgets/select-toolbar.cpp index 549581610..1bfc841e3 100644 --- a/src/widgets/select-toolbar.cpp +++ b/src/widgets/select-toolbar.cpp @@ -37,6 +37,8 @@ #include "sp-namedview.h" #include "toolbox.h" #include <glibmm/i18n.h> +#include "helper/action.h" +#include "helper/action-context.h" #include "helper/unit-menu.h" #include "helper/units.h" #include "inkscape.h" @@ -413,7 +415,7 @@ static GtkAction* create_action_for_verb( Inkscape::Verb* verb, Inkscape::UI::Vi { GtkAction* act = 0; - SPAction* targetAction = verb->get_action(view); + SPAction* targetAction = verb->get_action(Inkscape::ActionContext(view)); InkAction* inky = ink_action_new( verb->get_id(), verb->get_name(), verb->get_tip(), verb->get_image(), size ); act = GTK_ACTION(inky); |
