diff options
| author | Jabiertxof <jtx@jtx> | 2016-12-19 20:54:42 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2016-12-19 20:54:42 +0000 |
| commit | 952eb10b1e00f0e4abfbf8dd23fcb3935019f098 (patch) | |
| tree | cb123421faab0392a6c79a524208e987ba22ec4e /src/live_effects/lpe-perspective_path.cpp | |
| parent | Remove unneeded static var from previous commit (diff) | |
| download | inkscape-952eb10b1e00f0e4abfbf8dd23fcb3935019f098.tar.gz inkscape-952eb10b1e00f0e4abfbf8dd23fcb3935019f098.zip | |
Remove some ocurrences of desktop in knot functions
(bzr r15337)
Diffstat (limited to 'src/live_effects/lpe-perspective_path.cpp')
| -rw-r--r-- | src/live_effects/lpe-perspective_path.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp index 2c6d66cee..979b6dea5 100644 --- a/src/live_effects/lpe-perspective_path.cpp +++ b/src/live_effects/lpe-perspective_path.cpp @@ -18,7 +18,6 @@ #include "live_effects/lpeobject.h" #include "knot-holder-entity.h" #include "knotholder.h" -#include "desktop.h" #include <util/units.h> // TODO due to internal breakage in glibmm headers, this must be last: @@ -243,9 +242,9 @@ LPEPerspectivePath::newWidget() return dynamic_cast<Gtk::Widget *>(vbox); } -void LPEPerspectivePath::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item) { +void LPEPerspectivePath::addKnotHolderEntities(KnotHolder *knotholder, SPItem *item) { KnotHolderEntity *e = new PP::KnotHolderEntityOffset(this); - e->create( desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, + e->create( NULL, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, _("Adjust the origin") ); knotholder->add(e); }; |
