summaryrefslogtreecommitdiffstats
path: root/src/tools-switch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools-switch.cpp')
-rw-r--r--src/tools-switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools-switch.cpp b/src/tools-switch.cpp
index fe9d32f43..8d9baff48 100644
--- a/src/tools-switch.cpp
+++ b/src/tools-switch.cpp
@@ -153,7 +153,7 @@ tools_switch(SPDesktop *dt, int num)
/* fixme: This is really ugly hack. We should bind and unbind class methods */
/* First 4 tools use guides, first is undefined but we don't care */
dt->activate_guides(num < 5);
- inkscape_eventcontext_set(dt->getEventContext());
+ INKSCAPE->eventcontext_set(dt->getEventContext());
}
void tools_switch_by_item(SPDesktop *dt, SPItem *item, Geom::Point const p)