diff options
Diffstat (limited to 'src/snapper.cpp')
| -rw-r--r-- | src/snapper.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/snapper.cpp b/src/snapper.cpp index 105ec4631..390e0957e 100644 --- a/src/snapper.cpp +++ b/src/snapper.cpp @@ -21,7 +21,7 @@ Inkscape::Snapper::PointType const Inkscape::Snapper::SNAP_POINT = 0x2; * \param nv Named view. * \param d Snap distance. */ -Inkscape::Snapper::Snapper(SPNamedView const *nv, NR::Coord const d) : _named_view(nv), _distance(d), _enabled(true) +Inkscape::Snapper::Snapper(SPNamedView const *nv, NR::Coord const d) : _named_view(nv), _enabled(true), _distance(d) { g_assert(_named_view != NULL); g_assert(SP_IS_NAMEDVIEW(_named_view)); @@ -70,15 +70,6 @@ bool Inkscape::Snapper::getSnapTo(PointType t) const } /** - * \return true if this Snapper will snap at least one kind of point. - */ -bool Inkscape::Snapper::willSnapSomething() const -{ - return (_enabled && _snap_to != 0); -} - - -/** * \param s true to enable this snapper, otherwise false. */ |
