diff options
Diffstat (limited to 'src/client/NodeModel.cpp')
-rw-r--r-- | src/client/NodeModel.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp index 941f1122..ce96e775 100644 --- a/src/client/NodeModel.cpp +++ b/src/client/NodeModel.cpp @@ -219,16 +219,16 @@ NodeModel::port_label(SharedPtr<PortModel> port) const if (_plugin && _plugin->type() == PluginModel::LV2) { LilvWorld* c_world = _plugin->lilv_world(); const LilvPlugin* c_plugin = _plugin->lilv_plugin(); - LilvValue* c_sym = lilv_new_string(c_world, port->symbol().c_str()); + LilvNode* c_sym = lilv_new_string(c_world, port->symbol().c_str()); const LilvPort* c_port = lilv_plugin_get_port_by_symbol(c_plugin, c_sym); if (c_port) { - LilvValue* c_name = lilv_port_get_name(c_plugin, c_port); - if (c_name && lilv_value_is_string(c_name)) { - std::string ret(lilv_value_as_string(c_name)); - lilv_value_free(c_name); + LilvNode* c_name = lilv_port_get_name(c_plugin, c_port); + if (c_name && lilv_node_is_string(c_name)) { + std::string ret(lilv_node_as_string(c_name)); + lilv_node_free(c_name); return ret; } - lilv_value_free(c_name); + lilv_node_free(c_name); } } #endif @@ -242,7 +242,7 @@ NodeModel::set(SharedPtr<ObjectModel> model) SharedPtr<NodeModel> node = PtrCast<NodeModel>(model); if (node) { _plugin_uri = node->_plugin_uri; - _plugin = node->_plugin; + _plugin = node->_plugin; } ObjectModel::set(model); |