summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-10-30 19:29:49 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-10-30 19:29:49 +0000
commitfd60130e74661e020e46d954a56c63b4725c8f82 (patch)
treeba7033640e6c03794ae2fc10b67f989284ecf902 /src/extension/effect.cpp
parentr16892@shi: ted | 2007-10-29 21:33:09 -0700 (diff)
downloadinkscape-fd60130e74661e020e46d954a56c63b4725c8f82.tar.gz
inkscape-fd60130e74661e020e46d954a56c63b4725c8f82.zip
r16893@shi: ted | 2007-10-30 07:31:04 -0700
Wow, that wasn't as hard as I thought it would be. Changing away from SPDocument. Sounded like a good idea, but we need to be able to get selections in the document cache. (bzr r3979)
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index f7caf125d..2c1c832ae 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -219,8 +219,7 @@ Effect::prefs (Inkscape::UI::View::View * doc)
sigc::signal<void> * changeSignal = new sigc::signal<void>;
Gtk::Widget * controls;
- SPDesktop * spdesktop = (SPDesktop *)doc;
- Implementation::ImplementationDocumentCache * docCache = imp->newDocCache(this, spdesktop->doc());
+ Implementation::ImplementationDocumentCache * docCache = imp->newDocCache(this, doc);
controls = imp->prefs_effect(this, doc, changeSignal, docCache);
ExecutionEnv executionEnv(this, doc, controls, changeSignal, NULL, docCache);