summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-03-19 06:21:16 +0000
committerJon A. Cruz <jon@joncruz.org>2010-03-19 06:21:16 +0000
commit847b4f57816ba691e471cf891beca6d263438f03 (patch)
treecf12af8411a9a8ec4d97e148c2d07c3b257577fc /src/live_effects/parameter/path.cpp
parentBrace safety cleanup. (diff)
downloadinkscape-847b4f57816ba691e471cf891beca6d263438f03.tar.gz
inkscape-847b4f57816ba691e471cf891beca6d263438f03.zip
Cleanup of SP_ACTIVE_DESKTOP to prepare clipboard code for reuse.
(bzr r9209)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
-rw-r--r--src/live_effects/parameter/path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 94540a255..d8d5b0a7c 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -412,7 +412,7 @@ void
PathParam::on_paste_button_click()
{
Inkscape::UI::ClipboardManager *cm = Inkscape::UI::ClipboardManager::get();
- Glib::ustring svgd = cm->getPathParameter();
+ Glib::ustring svgd = cm->getPathParameter(SP_ACTIVE_DESKTOP);
paste_param_path(svgd.data());
sp_document_done(param_effect->getSPDoc(), SP_VERB_DIALOG_LIVE_PATH_EFFECT,
_("Paste path parameter"));
@@ -429,7 +429,7 @@ void
PathParam::on_link_button_click()
{
Inkscape::UI::ClipboardManager *cm = Inkscape::UI::ClipboardManager::get();
- Glib::ustring pathid = cm->getShapeOrTextObjectId();
+ Glib::ustring pathid = cm->getShapeOrTextObjectId(SP_ACTIVE_DESKTOP);
if (pathid == "") {
return;