summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-knot.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2016-12-19 20:54:42 +0000
committerJabiertxof <jtx@jtx>2016-12-19 20:54:42 +0000
commit952eb10b1e00f0e4abfbf8dd23fcb3935019f098 (patch)
treecb123421faab0392a6c79a524208e987ba22ec4e /src/live_effects/lpe-knot.cpp
parentRemove unneeded static var from previous commit (diff)
downloadinkscape-952eb10b1e00f0e4abfbf8dd23fcb3935019f098.tar.gz
inkscape-952eb10b1e00f0e4abfbf8dd23fcb3935019f098.zip
Remove some ocurrences of desktop in knot functions
(bzr r15337)
Diffstat (limited to 'src/live_effects/lpe-knot.cpp')
-rw-r--r--src/live_effects/lpe-knot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp
index 7c6882f30..2defecb77 100644
--- a/src/live_effects/lpe-knot.cpp
+++ b/src/live_effects/lpe-knot.cpp
@@ -615,10 +615,10 @@ LPEKnot::addCanvasIndicators(SPLPEItem const */*lpeitem*/, std::vector<Geom::Pat
hp_vec.push_back(pathv);
}
-void LPEKnot::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item)
+void LPEKnot::addKnotHolderEntities(KnotHolder *knotholder, SPItem *item)
{
KnotHolderEntity *e = new KnotHolderEntityCrossingSwitcher(this);
- e->create( desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN,
+ e->create( NULL, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN,
_("Drag to select a crossing, click to flip it") );
knotholder->add(e);
};