summaryrefslogtreecommitdiffstats
path: root/src/widgets/button.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-07-05 15:46:24 +0000
committerJaviertxo <jtx@jtx.marker.es>2013-07-05 15:46:24 +0000
commitc0503c1a2b9a5f7a4030a664ca5a324ce38c967a (patch)
tree9bc6d203a70155251a7a50210abe236cc2277d11 /src/widgets/button.cpp
parentUpadate to trunk (diff)
parentMerge: Command-line and DBus refactoring to improve inkscapes ability to be r... (diff)
downloadinkscape-c0503c1a2b9a5f7a4030a664ca5a324ce38c967a.tar.gz
inkscape-c0503c1a2b9a5f7a4030a664ca5a324ce38c967a.zip
Update to trunk
(bzr r11950.1.123)
Diffstat (limited to 'src/widgets/button.cpp')
-rw-r--r--src/widgets/button.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/button.cpp b/src/widgets/button.cpp
index 467f0d70e..a1bd9b792 100644
--- a/src/widgets/button.cpp
+++ b/src/widgets/button.cpp
@@ -20,6 +20,7 @@
#include "icon.h"
#include "shortcuts.h"
#include "interface.h"
+#include "helper/action-context.h"
#include <gdk/gdkkeysyms.h>
@@ -309,7 +310,7 @@ sp_button_new_from_data( Inkscape::IconSize size,
const gchar *tip )
{
GtkWidget *button;
- SPAction *action=sp_action_new(view, name, name, tip, name, 0);
+ SPAction *action=sp_action_new(Inkscape::ActionContext(view), name, name, tip, name, 0);
button = sp_button_new (size, type, action, NULL);
g_object_unref(action);
return button;