From 115c3732f83f77d1154433e9d9034c11b1b8513f Mon Sep 17 00:00:00 2001 From: gouldtj Date: Tue, 3 Jul 2007 03:48:05 +0000 Subject: [PATCH] r15703@tres: ted | 2007-07-02 15:27:14 -0700 Removing a check that needlessly exited if there was no GUI to display. It is now removed so those extensions only show the working dialog. --- src/extension/effect.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index f2f1a0295..4042a6dcb 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -416,10 +416,6 @@ Effect::prefs (Inkscape::UI::View::View * doc) Gtk::Widget * controls; controls = imp->prefs_effect(this, doc, &changeSignal); - if (controls == NULL) { - // std::cout << "No preferences for Effect" << std::endl; - return true; - } ExecutionEnv executionEnv(this, doc, controls); changeSignal.connect(sigc::mem_fun(executionEnv, &ExecutionEnv::preferencesChange)); -- 2.30.2