diff options
author | David Robillard <d@drobilla.net> | 2008-08-16 22:59:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-16 22:59:01 +0000 |
commit | d72ed9fd506756c83d97b62f6640135f3b8c32bb (patch) | |
tree | c79cd1e6b3c75d81231fc354a77653469f003caf /src/libs/gui | |
parent | e9ea28e1efb241619606b937ecd2e97f7e23d897 (diff) | |
download | ingen-d72ed9fd506756c83d97b62f6640135f3b8c32bb.tar.gz ingen-d72ed9fd506756c83d97b62f6640135f3b8c32bb.tar.bz2 ingen-d72ed9fd506756c83d97b62f6640135f3b8c32bb.zip |
Closer...
git-svn-id: http://svn.drobilla.net/lad/ingen@1407 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/LoadPluginWindow.cpp | 2 | ||||
-rw-r--r-- | src/libs/gui/PatchCanvas.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/gui/LoadPluginWindow.cpp b/src/libs/gui/LoadPluginWindow.cpp index b2f09ee8..5aa07c27 100644 --- a/src/libs/gui/LoadPluginWindow.cpp +++ b/src/libs/gui/LoadPluginWindow.cpp @@ -345,7 +345,7 @@ LoadPluginWindow::add_clicked() dialog.run(); } else { Path path = _patch->path().base() + Path::nameify(name); - App::instance().engine()->create_node(path, plugin->uri(), polyphonic); + App::instance().engine()->new_node(path, plugin->uri(), polyphonic); for (GraphObject::Variables::const_iterator i = _initial_data.begin(); i != _initial_data.end(); ++i) App::instance().engine()->set_variable(path, i->first, i->second); _node_name_entry->set_text(generate_module_name(++_plugin_name_offset)); diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp index 59011721..77078831 100644 --- a/src/libs/gui/PatchCanvas.cpp +++ b/src/libs/gui/PatchCanvas.cpp @@ -606,7 +606,7 @@ PatchCanvas::menu_add_port(const string& name, const string& type, bool is_outpu { // FIXME: bundleify const Path& path = _patch->path().base() + generate_port_name(name); - App::instance().engine()->create_port(path, type, is_output); + App::instance().engine()->new_port(path, type, is_output); GraphObject::Variables data = get_initial_data(); for (GraphObject::Variables::const_iterator i = data.begin(); i != data.end(); ++i) App::instance().engine()->set_variable(path, i->first, i->second); @@ -626,7 +626,7 @@ PatchCanvas::load_plugin(SharedPtr<PluginModel> plugin) const Path path = _patch->path().base() + name; // FIXME: polyphony? - App::instance().engine()->create_node(path, plugin->uri(), false); + App::instance().engine()->new_node(path, plugin->uri(), false); GraphObject::Variables data = get_initial_data(); for (GraphObject::Variables::const_iterator i = data.begin(); i != data.end(); ++i) App::instance().engine()->set_variable(path, i->first, i->second); |