summaryrefslogtreecommitdiffstats
path: root/src/extension/effect.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-06-27 06:25:39 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-06-27 06:25:39 +0000
commit99a5cbf5cafe5aa6e5f95135dcf5031f9d98630a (patch)
treec58614e20abc5d9bfbc59300473c08c26d88dc6b /src/extension/effect.cpp
parentr15480@tres: ted | 2007-05-20 23:51:34 -0700 (diff)
downloadinkscape-99a5cbf5cafe5aa6e5f95135dcf5031f9d98630a.tar.gz
inkscape-99a5cbf5cafe5aa6e5f95135dcf5031f9d98630a.zip
r15481@tres: ted | 2007-05-22 09:56:22 -0700
Switching to sigc::signal so it actually works. (bzr r3126)
Diffstat (limited to 'src/extension/effect.cpp')
-rw-r--r--src/extension/effect.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp
index d18599d62..80dc776e3 100644
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
@@ -2,7 +2,7 @@
* Authors:
* Ted Gould <ted@gould.cx>
*
- * Copyright (C) 2002-2006 Authors
+ * Copyright (C) 2002-2007 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
@@ -364,9 +364,7 @@ Effect::prefs (Inkscape::UI::View::View * doc)
set_state(Extension::STATE_LOADED);
if (!loaded()) return false;
- Glib::SignalProxyInfo changeSignalInfo = {signal_name: "Effect Preference Changed",
- callback: NULL, notify_callback: NULL};
- Glib::SignalProxy0<void> changeSignal(NULL, &changeSignalInfo);
+ sigc::signal<void> changeSignal;
Gtk::Widget * controls;
controls = imp->prefs_effect(this, doc, &changeSignal);
@@ -376,7 +374,7 @@ Effect::prefs (Inkscape::UI::View::View * doc)
}
ExecutionEnv executionEnv(this, doc, controls);
- //changeSignal.connect(sigc::mem_fun(executionEnv, &ExecutionEnv::preferencesChange));
+ changeSignal.connect(sigc::mem_fun(executionEnv, &ExecutionEnv::preferencesChange));
executionEnv.run();
return true;