From c71757d304abf6015c76c8cc4da610f1934913a3 Mon Sep 17 00:00:00 2001 From: rwst Date: Sun, 29 Jan 2006 14:58:15 +0000 Subject: [PATCH] use namedview->snap_* variables instead of namedview->*_snapper, fixes #1399284 --- src/ui/dialog/document-properties.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 3c59e77af..f9a280b86 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -403,18 +403,18 @@ DocumentProperties::update() _rcp_hgui.setRgba32 (nv->guidehicolor); //-----------------------------------------------------------snap - _rcbsnbo.setActive (nv->object_snapper.getSnapTo(Inkscape::Snapper::BBOX_POINT)); - _rcbsnnob.setActive (nv->object_snapper.getSnapTo(Inkscape::Snapper::SNAP_POINT)); - _rcbsnop.setActive (nv->object_snapper.getSnapToPaths()); - _rcbsnop.setActive (nv->object_snapper.getSnapToNodes()); + _rcbsnbo.setActive (nv->snap_object_bbox); + _rcbsnnob.setActive (nv->snap_object_point); + _rcbsnop.setActive (nv->snap_object_paths); + _rcbsnop.setActive (nv->snap_object_nodes); _rsu_sno.setValue (nv->objecttolerance, nv->has_abs_tolerance); - _rcbsnbb.setActive (nv->grid_snapper.getSnapTo(Inkscape::Snapper::BBOX_POINT)); - _rcbsnnod.setActive (nv->grid_snapper.getSnapTo(Inkscape::Snapper::SNAP_POINT)); + _rcbsnbb.setActive (nv->snap_grid_bbox); + _rcbsnnod.setActive (nv->snap_grid_point); _rsu_sn.setValue (nv->gridtolerance, nv->has_abs_tolerance); - _rcb_snpgui.setActive (nv->guide_snapper.getSnapTo(Inkscape::Snapper::BBOX_POINT)); - _rcb_snbgui.setActive (nv->guide_snapper.getSnapTo(Inkscape::Snapper::SNAP_POINT)); + _rcb_snpgui.setActive (nv->snap_guide_bbox); + _rcb_snbgui.setActive (nv->snap_guide_point); _rsu_gusn.setValue (nv->guidetolerance, nv->has_abs_tolerance); _rrb_pix.setValue (true); -- 2.30.2