summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-10 21:00:50 +0000
committerDavid Robillard <d@drobilla.net>2008-11-10 21:00:50 +0000
commit1423712f8e91dffde60c07d32b4de878bdcd3eae (patch)
treee83d7a8e3840a476bf7ac2cdb4252656f08b0133 /src/gui
parentfb76b922a4d3b0f7e49ea1dcb21fec0c3a236b3f (diff)
downloadingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.tar.gz
ingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.tar.bz2
ingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.zip
Turn off OSC debug dumping in engine.
Shuffle new_port parameters to make more sense for no particular reason. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1715 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index cb596791..acbd8efe 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -709,7 +709,7 @@ PatchCanvas::menu_add_port(const string& name, const string& type, bool is_outpu
{
const Path& path = _patch->path().base() + generate_port_name(name);
App::instance().engine()->bundle_begin();
- App::instance().engine()->new_port(path, _patch->num_ports(), type, is_output);
+ App::instance().engine()->new_port(path, type, _patch->num_ports(), 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);