summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-09-27 15:48:12 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-09-27 15:50:23 +0000
commit526e8ead4e28bd8c77c4b4b12ecdbccd29b1cf90 (patch)
tree1971030c29796a4b1e443abe8d79d24ac87abab0 /src/extension/effect.cpp
parentPropagate IconRenderer's activate signal so we don't have to guess where the ... (diff)
downloadinkscape-526e8ead4e28bd8c77c4b4b12ecdbccd29b1cf90.tar.gz
inkscape-526e8ead4e28bd8c77c4b4b12ecdbccd29b1cf90.zip
SP_ACTIVE_DESKTOP: check for NULL or eliminate
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index 1cf624ad0..c86bc5db1 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -13,7 +13,6 @@
#include "helper/action.h"
#include "ui/view/view.h"
-#include "desktop.h"
#include "implementation/implementation.h"
#include "effect.h"
#include "execution-env.h"
@@ -270,7 +269,6 @@ Effect::effect (Inkscape::UI::View::View * doc)
if (!loaded())
set_state(Extension::STATE_LOADED);
if (!loaded()) return;
- SPDesktop *desktop = SP_ACTIVE_DESKTOP;
ExecutionEnv executionEnv(this, doc);
execution_env = &executionEnv;
timer->lock();