diff options
author | David Robillard <d@drobilla.net> | 2008-09-28 04:00:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-28 04:00:48 +0000 |
commit | d83003cd073380fe0a28cd1b3ce40dc7ab072fe0 (patch) | |
tree | 6be9cd37a8846c1093b9f1c75173d81a7c5fad13 /src/libs | |
parent | 61bd86208f7d93b02bc62e768d0b72b262e80535 (diff) | |
download | ingen-d83003cd073380fe0a28cd1b3ce40dc7ab072fe0.tar.gz ingen-d83003cd073380fe0a28cd1b3ce40dc7ab072fe0.tar.bz2 ingen-d83003cd073380fe0a28cd1b3ce40dc7ab072fe0.zip |
Fix last fix :)
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1522 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/client/PluginModel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/client/PluginModel.cpp b/src/libs/client/PluginModel.cpp index 93176b22..ff7e5b5c 100644 --- a/src/libs/client/PluginModel.cpp +++ b/src/libs/client/PluginModel.cpp @@ -60,11 +60,10 @@ PluginModel::human_name() string PluginModel::port_human_name(uint32_t index) { - Glib::Mutex::Lock lock(_rdf_world->mutex()); - #ifdef HAVE_SLV2 if (_slv2_plugin) { - SLV2Port port = slv2_port(index); + Glib::Mutex::Lock lock(_rdf_world->mutex()); + SLV2Port port = slv2_plugin_get_port_by_index(_slv2_plugin, index); SLV2Value name = slv2_port_get_name(_slv2_plugin, port); string ret = slv2_value_as_string(name); slv2_value_free(name); |