Code

now that selection description includes style (filtered, clipped), we need to update...
[inkscape.git] / src / snapped-point.h
index dbd672bdfd1018276875fc6dd097d01d9b6dfb94..cddddd53bc3097226544b46854b01d79b1da36d5 100644 (file)
@@ -58,7 +58,7 @@ public:
     void setPointerDistance(Geom::Coord const d) {_pointer_distance = d;}
 
     /* This is the preferred method to find out which point we have snapped
-     * to, because it only returns a point if snapping has actually occured
+     * to, because it only returns a point if snapping has actually occurred
      * (by overwriting p)
      */
     void getPoint(Geom::Point &p) const;
@@ -77,7 +77,7 @@ public:
     Geom::Point getTransformation() const {return _transformation;}
     void setTransformation(Geom::Point const t) {_transformation = t;}
     void setTarget(SnapTargetType const target) {_target = target;}
-    SnapTargetType getTarget() {return _target;}
+    SnapTargetType getTarget() const {return _target;}
 
     bool isOtherSnapBetter(SnappedPoint const &other_one, bool weighted) const;