diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2008-09-07 15:12:57 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2008-09-07 15:12:57 +0000 |
| commit | 63d732ef4c6d3ee46fc743768274d407de6f876a (patch) | |
| tree | 9e4231bab7970e0525ec69029c468da8e5e5b3cc /src/guide-snapper.h | |
| parent | Remove pointer to SPDesktop from ObjectSnapper (diff) | |
| download | inkscape-63d732ef4c6d3ee46fc743768274d407de6f876a.tar.gz inkscape-63d732ef4c6d3ee46fc743768274d407de6f876a.zip | |
If a snapper needs a reference to a SPNamedView or a SPDesktop, then get that reference via the SnapManager (instead of storing references in the snapper and accessing them directly)
(bzr r6773)
Diffstat (limited to 'src/guide-snapper.h')
| -rw-r--r-- | src/guide-snapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guide-snapper.h b/src/guide-snapper.h index df6086ccf..a7798c72f 100644 --- a/src/guide-snapper.h +++ b/src/guide-snapper.h @@ -28,7 +28,7 @@ namespace Inkscape class GuideSnapper : public LineSnapper { public: - GuideSnapper(SPNamedView const *nv, Geom::Coord const d); + GuideSnapper(SnapManager const *sm, Geom::Coord const d); bool ThisSnapperMightSnap() const; private: |
