Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / sp-item-update-cns.cpp
index c90df01ba83c0fff7be59a0e3bcc3e036e11012d..315d0910812c8f007a50489c158158abb303a462 100644 (file)
@@ -10,7 +10,7 @@ using std::vector;
 void sp_item_update_cns(SPItem &item, SPDesktop const &desktop)
 {
     std::vector<Inkscape::SnapCandidatePoint> snappoints;
-    sp_item_snappoints(&item, snappoints, NULL);
+    item.getSnappoints(snappoints, NULL);
     /* TODO: Implement the ordering. */
     vector<SPGuideConstraint> found_cns;
     satisfied_guide_cns(desktop, snappoints, found_cns);