diff options
Diffstat (limited to 'src/ui/tools-switch.cpp')
| -rw-r--r-- | src/ui/tools-switch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools-switch.cpp b/src/ui/tools-switch.cpp index 048252788..79d6b8930 100644 --- a/src/ui/tools-switch.cpp +++ b/src/ui/tools-switch.cpp @@ -15,7 +15,7 @@ #include <cstring> #include <string> -#include "inkscape-private.h" +#include "inkscape.h" #include "desktop.h" #include "desktop-handles.h" #include <glibmm/i18n.h> @@ -154,7 +154,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) |
