summaryrefslogtreecommitdiffstats
path: root/src/sp-lpe-item.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/sp-lpe-item.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/sp-lpe-item.cpp')
-rw-r--r--src/sp-lpe-item.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 1939b2ec0..f1e4c96c2 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -252,8 +252,7 @@ sp_lpe_item_update(SPObject *object, SPCtx *ctx, guint flags)
// FIXME: ditch inkscape_active_event_context()
SPEventContext *ec = inkscape_active_event_context();
if (!SP_IS_NODE_CONTEXT(ec)) return;
- SPNodeContext *nc = SP_NODE_CONTEXT(ec);
- ShapeEditor *sh = nc->shape_editor;
+ ShapeEditor *sh = ec->shape_editor;
g_assert(sh);
if (!sh->has_nodepath()) return;