summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/Port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/Port.cpp')
-rw-r--r--src/libs/gui/Port.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/gui/Port.cpp b/src/libs/gui/Port.cpp
index e3dd0fd4..b02c0856 100644
--- a/src/libs/gui/Port.cpp
+++ b/src/libs/gui/Port.cpp
@@ -62,7 +62,7 @@ Port::Port(boost::shared_ptr<FlowCanvas::Module> module, SharedPtr<PortModel> pm
set_control_min(min);
set_control_max(max);
- pm->signal_metadata.connect(sigc::mem_fun(this, &Port::metadata_update));
+ pm->signal_variable.connect(sigc::mem_fun(this, &Port::variable_change));
_port_model->signal_control.connect(sigc::mem_fun(this, &Port::control_changed));
}
@@ -116,7 +116,7 @@ Port::set_control(float value, bool signal)
void
-Port::metadata_update(const string& key, const Atom& value)
+Port::variable_change(const string& key, const Atom& value)
{
if ( (key == "ingen:minimum") && value.type() == Atom::FLOAT) {
set_control_min(value.get_float());