From 59a283b2e4480f016a7c09eba3699bdd6439e648 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Thu, 8 Jan 2009 05:34:40 +0000 Subject: move shape_editor from node context to the parent class, event context (bzr r7096) --- src/desktop.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/desktop.cpp') diff --git a/src/desktop.cpp b/src/desktop.cpp index 85c53be6f..8b60291ef 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -883,9 +883,8 @@ SPDesktop::zoom_quick (bool enable) 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; -- cgit v1.2.3