summaryrefslogtreecommitdiffstats
path: root/src/graphlayout.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/graphlayout.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/graphlayout.cpp')
-rw-r--r--src/graphlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphlayout.cpp b/src/graphlayout.cpp
index 43b424f46..e5d61ab64 100644
--- a/src/graphlayout.cpp
+++ b/src/graphlayout.cpp
@@ -117,7 +117,7 @@ void graphlayout(GSList const *const items) {
// add the connector spacing to the size of node bounding boxes
// so that connectors can always be routed between shapes
- SPDesktop* desktop = INKSCAPE.active_desktop();
+ SPDesktop* desktop = SP_ACTIVE_DESKTOP;
double spacing = 0;
if(desktop) spacing = desktop->namedview->connector_spacing+0.1;