summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/toolbox.h')
-rw-r--r--src/widgets/toolbox.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/widgets/toolbox.h b/src/widgets/toolbox.h
index e9ffcda4a..fb749bfb5 100644
--- a/src/widgets/toolbox.h
+++ b/src/widgets/toolbox.h
@@ -23,7 +23,16 @@
#define TOOLBAR_SLIDER_HINT "full"
class SPDesktop;
-class SPEventContext;
+
+namespace Inkscape {
+namespace UI {
+namespace Tools {
+
+class ToolBase;
+
+}
+}
+}
namespace Inkscape {
namespace UI {
@@ -50,7 +59,7 @@ public:
static Glib::ustring getToolboxName(GtkWidget* toolbox);
- static void updateSnapToolbox(SPDesktop *desktop, SPEventContext *eventcontext, GtkWidget *toolbox);
+ static void updateSnapToolbox(SPDesktop *desktop, Inkscape::UI::Tools::ToolBase *eventcontext, GtkWidget *toolbox);
static Inkscape::IconSize prefToSize(Glib::ustring const &path, int base = 0 );