From b9cd7f7ef85ede6010815c2cfbc79e136ffdf63d Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 7 Sep 2008 10:35:07 +0000 Subject: Remove pointer to SPDesktop from ObjectSnapper (bzr r6772) --- src/object-snapper.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/object-snapper.h') diff --git a/src/object-snapper.h b/src/object-snapper.h index 3e7222e23..02b4b422b 100644 --- a/src/object-snapper.h +++ b/src/object-snapper.h @@ -17,7 +17,6 @@ #include "snapper.h" #include "sp-path.h" #include "splivarot.h" -#include "desktop.h" struct SPNamedView; struct SPItem; @@ -70,7 +69,6 @@ public: void setIncludeItemCenter(bool s) {_include_item_center = s;} bool getIncludeItemCenter() const {return _include_item_center;} void setStrictSnapping(bool enabled) {_strict_snapping = enabled;} - void setDesktop(SPDesktop const *desktop) {_desktop = desktop;} void guideSnap(SnappedConstraints &sc, Geom::Point const &p, Geom::Point const &guide_normal) const; @@ -157,7 +155,6 @@ private: //(snapping to grids and guides is not affected by this) bool _strict_snapping; bool _include_item_center; - SPDesktop const *_desktop; }; } -- cgit v1.2.3