summaryrefslogtreecommitdiffstats
path: root/src/vanishing-point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vanishing-point.cpp')
-rw-r--r--src/vanishing-point.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp
index 3adcfbb40..361a7a0de 100644
--- a/src/vanishing-point.cpp
+++ b/src/vanishing-point.cpp
@@ -19,7 +19,7 @@
#include "desktop.h"
#include "display/sp-canvas-item.h"
#include "display/sp-ctrlline.h"
-#include "event-context.h"
+#include "ui/tools/tool-base.h"
#include "xml/repr.h"
#include "perspective-line.h"
#include "shape-editor.h"
@@ -632,7 +632,7 @@ VPDrag::updateBoxHandles ()
return;
}
- SPEventContext *ec = inkscape_active_event_context();
+ Inkscape::UI::Tools::ToolBase *ec = inkscape_active_event_context();
g_assert (ec != NULL);
if (ec->shape_editor != NULL) {
ec->shape_editor->update_knotholder();