summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/NodeModule.cpp6
-rw-r--r--src/gui/PatchCanvas.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 2c14557a..20f6beb3 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -133,7 +133,7 @@ NodeModule::show_human_names(bool b)
set_name(node()->symbol().c_str());
}
- for (PortVector::const_iterator i = ports().begin(); i != ports().end(); ++i) {
+ for (Ports::const_iterator i = ports().begin(); i != ports().end(); ++i) {
SharedPtr<Ingen::GUI::Port> port = PtrCast<Ingen::GUI::Port>(*i);
Glib::ustring label(port->model()->symbol().c_str());
if (b) {
@@ -177,7 +177,7 @@ NodeModule::value_changed(uint32_t index, const Atom& value)
void
NodeModule::plugin_changed()
{
- for (PortVector::iterator p = ports().begin(); p != ports().end(); ++p)
+ for (Ports::iterator p = ports().begin(); p != ports().end(); ++p)
PtrCast<Ingen::GUI::Port>(*p)->update_metadata();
}
@@ -267,7 +267,7 @@ NodeModule::add_port(SharedPtr<const PortModel> port, bool resize_to_fit)
boost::shared_ptr<Port>
NodeModule::port(boost::shared_ptr<const PortModel> model)
{
- for (PortVector::const_iterator p = ports().begin(); p != ports().end(); ++p) {
+ for (Ports::const_iterator p = ports().begin(); p != ports().end(); ++p) {
SharedPtr<Port> port = PtrCast<Port>(*p);
if (port->model() == model)
return port;
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 733e7703..68a4cbab 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -49,7 +49,7 @@
#define LOG(s) s << "[PatchCanvas] "
#define FOREACH_ITEM(iter, coll) \
- for (ItemList::iterator (iter) = coll.begin(); \
+ for (Items::iterator (iter) = coll.begin(); \
(iter) != coll.end(); ++(iter))
using Ingen::Client::ClientStore;
@@ -449,7 +449,7 @@ PatchCanvas::get_port_view(SharedPtr<PortModel> port)
} else {
module = PtrCast<NodeModule>(_views[port->parent()]);
if (module) {
- for (PortVector::const_iterator p = module->ports().begin();
+ for (Module::Ports::const_iterator p = module->ports().begin();
p != module->ports().end(); ++p) {
boost::shared_ptr<GUI::Port> pv = boost::dynamic_pointer_cast<GUI::Port>(*p);
if (pv && pv->model() == port)