diff options
| author | Ted Gould <ted@gould.cx> | 2007-09-01 04:34:22 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-09-01 04:34:22 +0000 |
| commit | c832235b1dc76af96cd2a9ac8b5127871f6bec6c (patch) | |
| tree | b45b1461598f06080dc15b8f07b65b39198afce2 /src/extension/effect.cpp | |
| parent | r16405@tres: ted | 2007-08-29 19:50:24 -0700 (diff) | |
| download | inkscape-c832235b1dc76af96cd2a9ac8b5127871f6bec6c.tar.gz inkscape-c832235b1dc76af96cd2a9ac8b5127871f6bec6c.zip | |
r16406@tres: ted | 2007-08-29 20:14:55 -0700
Reroute the way that the preferences signal changes so that pinning
works as expected. Fixes a segmentation fault.
(bzr r3645)
Diffstat (limited to 'src/extension/effect.cpp')
| -rw-r--r-- | src/extension/effect.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index fc8715248..a20f1c6e9 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -210,13 +210,12 @@ Effect::prefs (Inkscape::UI::View::View * doc) set_state(Extension::STATE_LOADED); if (!loaded()) return false; - sigc::signal<void> changeSignal; + sigc::signal<void> * changeSignal = new sigc::signal<void>; Gtk::Widget * controls; - controls = imp->prefs_effect(this, doc, &changeSignal); + controls = imp->prefs_effect(this, doc, changeSignal); - ExecutionEnv executionEnv(this, doc, controls); - changeSignal.connect(sigc::mem_fun(executionEnv, &ExecutionEnv::preferencesChange)); + ExecutionEnv executionEnv(this, doc, controls, changeSignal); timer->lock(); executionEnv.run(); |
