diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-11-26 01:35:57 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-11-26 01:35:57 +0000 |
| commit | 8edb6edfedc2665a4fa72045ae7faedd0aaed958 (patch) | |
| tree | 642742ca3a222d2e7749c1b27ded549325a2f19e /src/live_effects/parameter | |
| parent | Merge inkscape-cppify branch (diff) | |
| download | inkscape-8edb6edfedc2665a4fa72045ae7faedd0aaed958.tar.gz inkscape-8edb6edfedc2665a4fa72045ae7faedd0aaed958.zip | |
Replace INKSCAPE.active_desktop() by SP_ACTIVE_DESKTOP for easier grepability
(bzr r13768)
Diffstat (limited to 'src/live_effects/parameter')
| -rw-r--r-- | src/live_effects/parameter/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp index 03b37b51c..a88ac7d75 100644 --- a/src/live_effects/parameter/text.cpp +++ b/src/live_effects/parameter/text.cpp @@ -32,7 +32,7 @@ TextParam::TextParam( const Glib::ustring& label, const Glib::ustring& tip, value(default_value), defvalue(default_value) { - SPDesktop *desktop = INKSCAPE.active_desktop(); // FIXME: we shouldn't use this! + 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), ""); sp_canvastext_set_text (canvas_text, default_value.c_str()); sp_canvastext_set_coords (canvas_text, 0, 0); |
