summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-19 00:56:05 +0000
committerDavid Robillard <d@drobilla.net>2008-08-19 00:56:05 +0000
commit5609c1ce452f8122b5ed12144dd4c1941bd07bc2 (patch)
treee0984409aaeee38599e32c9364636962586b7739 /src/libs/gui
parentf63dcf61bc04cc276ed5ae63266bfb91e3b84d94 (diff)
downloadingen-5609c1ce452f8122b5ed12144dd4c1941bd07bc2.tar.gz
ingen-5609c1ce452f8122b5ed12144dd4c1941bd07bc2.tar.bz2
ingen-5609c1ce452f8122b5ed12144dd4c1941bd07bc2.zip
Kill more API/code - replace enable_port_broadcast and disable_port_broadcast functions/events
with property ingen:broadcast. git-svn-id: http://svn.drobilla.net/lad/ingen@1441 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/NodeModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp
index 207bdd18..21415be9 100644
--- a/src/libs/gui/NodeModule.cpp
+++ b/src/libs/gui/NodeModule.cpp
@@ -154,7 +154,7 @@ NodeModule::embed_gui(bool embed)
for (PortModelList::const_iterator p = _node->ports().begin();
p != _node->ports().end(); ++p)
if ((*p)->type().is_control() && (*p)->is_output())
- App::instance().engine()->enable_port_broadcasting((*p)->path());
+ App::instance().engine()->set_property((*p)->path(), "ingen:broadcast", true);
}
} else { // un-embed
@@ -164,7 +164,7 @@ NodeModule::embed_gui(bool embed)
for (PortModelList::const_iterator p = _node->ports().begin(); p != _node->ports().end(); ++p)
if ((*p)->type().is_control() && (*p)->is_output())
- App::instance().engine()->disable_port_broadcasting((*p)->path());
+ App::instance().engine()->set_property((*p)->path(), "ingen:broadcast", false);
}
if (embed && _embed_item) {