diff --git a/src/snap-candidate.h b/src/snap-candidate.h
index bd378bec83e2d57baed389292f680f1ad2ba6b1d..5c283440305ce7570d7744457f43b5972886dfbb 100644 (file)
--- a/src/snap-candidate.h
+++ b/src/snap-candidate.h
_target_bbox = Geom::OptRect();
}
- SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source, long const source_num = 0)
+ SnapCandidatePoint(Geom::Point const &point, Inkscape::SnapSourceType const source)
: _point(point),
_source_type(source),
_target_type(Inkscape::SNAPTARGET_UNDEFINED),
- _source_num(source_num)
+ _source_num(0)
{
_target_bbox = Geom::OptRect();
}
inline Inkscape::SnapSourceType getSourceType() const {return _source_type;}
inline Inkscape::SnapTargetType getTargetType() const {return _target_type;}
inline long getSourceNum() const {return _source_num;}
+ void setSourceNum(long num) {_source_num = num;}
inline Geom::OptRect const getTargetBBox() const {return _target_bbox;}
private: