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/gradient-selector.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/gradient-selector.cpp')
| -rw-r--r-- | src/widgets/gradient-selector.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/gradient-selector.cpp b/src/widgets/gradient-selector.cpp index 7a7f0d8ff..5ac994509 100644 --- a/src/widgets/gradient-selector.cpp +++ b/src/widgets/gradient-selector.cpp @@ -26,6 +26,7 @@ #include "inkscape.h" #include "verbs.h" #include "helper/action.h" +#include "helper/action-context.h" #include "preferences.h" #include <glibmm/i18n.h> @@ -535,7 +536,7 @@ sp_gradient_selector_edit_vector_clicked (GtkWidget */*w*/, SPGradientSelector * // Invoke the gradient tool Inkscape::Verb *verb = Inkscape::Verb::get( SP_VERB_CONTEXT_GRADIENT ); if ( verb ) { - SPAction *action = verb->get_action( ( Inkscape::UI::View::View * ) SP_ACTIVE_DESKTOP); + SPAction *action = verb->get_action( Inkscape::ActionContext( ( Inkscape::UI::View::View * ) SP_ACTIVE_DESKTOP ) ); if ( action ) { sp_action_perform( action, NULL ); } |
