summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index d9fb006f2..49cadc116 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -182,7 +182,7 @@ sp_path_convert_to_guides(SPItem *item)
}
}
- sp_guide_pt_pairs_to_guides(inkscape_active_desktop(), pts);
+ sp_guide_pt_pairs_to_guides(item->document, pts);
}
/**