From: gouldtj Date: Tue, 3 Jul 2007 03:48:05 +0000 (+0000) Subject: r15703@tres: ted | 2007-07-02 15:27:14 -0700 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=115c3732f83f77d1154433e9d9034c11b1b8513f;p=inkscape.git 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. --- 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));