summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port.c b/src/port.c
index 2c1b5c7..727911a 100644
--- a/src/port.c
+++ b/src/port.c
@@ -141,8 +141,8 @@ LilvNode*
lilv_port_get_name(const LilvPlugin* p,
const LilvPort* port)
{
- LilvNodes* results = lilv_port_get_value(p, port,
- p->world->lv2_name_val);
+ LilvNodes* results = lilv_port_get_value_by_node(
+ p, port, p->world->lv2_name_node);
LilvNode* ret = NULL;
if (results) {