Code

r15703@tres: ted | 2007-07-02 15:27:14 -0700
authorgouldtj <gouldtj@users.sourceforge.net>
Tue, 3 Jul 2007 03:48:05 +0000 (03:48 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Tue, 3 Jul 2007 03:48:05 +0000 (03:48 +0000)
 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

index f2f1a0295827e9837d0943b4abc8e9746bcec957..4042a6dcba998d7d9a3cfe42385103366ed2ed90 100644 (file)
@@ -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));