diff --git a/src/desktop.cpp b/src/desktop.cpp
index 85c53be6fe91d8fe96de847cd4d2b85a1979384c..8b60291ef36c8c39df023a0bc1ee2037acaf3c78 100644 (file)
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
if (!zoomed) {
SPItem * singleItem = selection->singleItem();
if (singleItem != NULL && tools_isactive(this, TOOLS_NODES)) {
- SPNodeContext * ncontext = SP_NODE_CONTEXT(event_context);
- Inkscape::NodePath::Path * nodepath = ncontext->shape_editor->get_nodepath();
+ Inkscape::NodePath::Path * nodepath = event_context->shape_editor->get_nodepath();
// printf("I've got a nodepath, crazy\n");
Geom::Rect nodes;