summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-01-08 05:34:40 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-01-08 05:34:40 +0000
commit59a283b2e4480f016a7c09eba3699bdd6439e648 (patch)
treec8700ba4f72b1700665a55ca71e8f3fe32f4ea1c /src/desktop.cpp
parentsmall 2geomify (diff)
downloadinkscape-59a283b2e4480f016a7c09eba3699bdd6439e648.tar.gz
inkscape-59a283b2e4480f016a7c09eba3699bdd6439e648.zip
move shape_editor from node context to the parent class, event context
(bzr r7096)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp3
1 files changed, 1 insertions, 2 deletions
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;