summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/text.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-12-21 20:51:24 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-12-21 20:51:24 +0000
commit9ae37e8df1124ebd67e3d6dc24429d03919144ea (patch)
tree773ea0331099093fd8fae8f5448fae973bcf5a63 /src/live_effects/parameter/text.cpp
parentPurge sp_desktop_main (diff)
downloadinkscape-9ae37e8df1124ebd67e3d6dc24429d03919144ea.tar.gz
inkscape-9ae37e8df1124ebd67e3d6dc24429d03919144ea.zip
Purge sp_desktop_sketch and sp_desktop_tempgroup
(bzr r13816)
Diffstat (limited to 'src/live_effects/parameter/text.cpp')
-rw-r--r--src/live_effects/parameter/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp
index 3b58a4c67..8a5f50145 100644
--- a/src/live_effects/parameter/text.cpp
+++ b/src/live_effects/parameter/text.cpp
@@ -34,7 +34,7 @@ TextParam::TextParam( const Glib::ustring& label, const Glib::ustring& tip,
defvalue(default_value)
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP; // FIXME: we shouldn't use this!
- canvas_text = (SPCanvasText *) sp_canvastext_new(sp_desktop_tempgroup(desktop), desktop, Geom::Point(0,0), "");
+ canvas_text = (SPCanvasText *) sp_canvastext_new(desktop->getTempGroup(), desktop, Geom::Point(0,0), "");
sp_canvastext_set_text (canvas_text, default_value.c_str());
sp_canvastext_set_coords (canvas_text, 0, 0);
}