summaryrefslogtreecommitdiffstats
path: root/src/inkscape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inkscape.h')
-rw-r--r--src/inkscape.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/inkscape.h b/src/inkscape.h
index 0effc3c38..823e7524f 100644
--- a/src/inkscape.h
+++ b/src/inkscape.h
@@ -17,7 +17,16 @@
class SPDesktop;
class SPDocument;
-class SPEventContext;
+
+namespace Inkscape {
+namespace UI {
+namespace Tools {
+
+class ToolBase;
+
+}
+}
+}
namespace Inkscape {
class ActionContext;
@@ -49,7 +58,7 @@ bool inkscapeIsCrashing();
SPDesktop * inkscape_find_desktop_by_dkey (unsigned int dkey);
#define SP_ACTIVE_EVENTCONTEXT inkscape_active_event_context ()
-SPEventContext * inkscape_active_event_context (void);
+Inkscape::UI::Tools::ToolBase * inkscape_active_event_context (void);
#define SP_ACTIVE_DOCUMENT inkscape_active_document ()
SPDocument * inkscape_active_document (void);