summaryrefslogtreecommitdiffstats
path: root/src/box3d.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-11-26 01:35:57 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-11-26 01:35:57 +0000
commit8edb6edfedc2665a4fa72045ae7faedd0aaed958 (patch)
tree642742ca3a222d2e7749c1b27ded549325a2f19e /src/box3d.cpp
parentMerge inkscape-cppify branch (diff)
downloadinkscape-8edb6edfedc2665a4fa72045ae7faedd0aaed958.tar.gz
inkscape-8edb6edfedc2665a4fa72045ae7faedd0aaed958.zip
Replace INKSCAPE.active_desktop() by SP_ACTIVE_DESKTOP for easier grepability
(bzr r13768)
Diffstat (limited to 'src/box3d.cpp')
-rw-r--r--src/box3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp
index 93622be4c..9ccc969bc 100644
--- a/src/box3d.cpp
+++ b/src/box3d.cpp
@@ -401,7 +401,7 @@ box3d_snap (SPBox3D *box, int id, Proj::Pt3 const &pt_proj, Proj::Pt3 const &sta
snap_pts[3] = diag2.closest_to (pt);
}
- gdouble const zoom = INKSCAPE.active_desktop()->current_zoom();
+ gdouble const zoom = SP_ACTIVE_DESKTOP->current_zoom();
// determine the distances to all potential snapping points
double snap_dists[MAX_POINT_COUNT];