summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchPortModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-04 19:34:35 +0000
committerDavid Robillard <d@drobilla.net>2010-02-04 19:34:35 +0000
commit4d60d565d99eb06360251ee06f1af094811656e3 (patch)
tree061cbee74ba739dc44c85f54c6eef901ea7a90a9 /src/gui/PatchPortModule.cpp
parent02b16c6c80b4dd2d52fe3f34a800fef67e31611b (diff)
downloadingen-4d60d565d99eb06360251ee06f1af094811656e3.tar.gz
ingen-4d60d565d99eb06360251ee06f1af094811656e3.tar.bz2
ingen-4d60d565d99eb06360251ee06f1af094811656e3.zip
Consistent name (property_changed) for ObjectModel::signal_property handlers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2426 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchPortModule.cpp')
-rw-r--r--src/gui/PatchPortModule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index a32d202f..1551b142 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -50,7 +50,7 @@ PatchPortModule::PatchPortModule(boost::shared_ptr<PatchCanvas> canvas, SharedPt
set_stacked_border(model->polyphonic());
- model->signal_property.connect(sigc::mem_fun(this, &PatchPortModule::set_property));
+ model->signal_property.connect(sigc::mem_fun(this, &PatchPortModule::property_changed));
}
@@ -66,11 +66,11 @@ PatchPortModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<PortMod
for (GraphObject::Properties::const_iterator m = model->meta().properties().begin();
m != model->meta().properties().end(); ++m)
- ret->set_property(m->first, m->second);
+ ret->property_changed(m->first, m->second);
for (GraphObject::Properties::const_iterator m = model->properties().begin();
m != model->properties().end(); ++m)
- ret->set_property(m->first, m->second);
+ ret->property_changed(m->first, m->second);
ret->resize();
return ret;
@@ -132,7 +132,7 @@ PatchPortModule::set_name(const std::string& n)
void
-PatchPortModule::set_property(const URI& key, const Atom& value)
+PatchPortModule::property_changed(const URI& key, const Atom& value)
{
const LV2URIMap& uris = App::instance().uris();
switch (value.type()) {