summaryrefslogtreecommitdiffstats
path: root/src/graphlayout.cpp
diff options
context:
space:
mode:
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 18159cb41..43b424f46 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 = INKSCAPE.active_desktop();
double spacing = 0;
if(desktop) spacing = desktop->namedview->connector_spacing+0.1;