summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-31 17:26:30 +0000
committerDavid Robillard <d@drobilla.net>2011-01-31 17:26:30 +0000
commite98533cbbd871495593879c3ae7b1fe204434a07 (patch)
tree73aefbfe2513ae5def2f8e235b32cbe37c00031d /src/port.c
parent920128cdb2bb7fe99a000965f26efb2f72cff524 (diff)
downloadlilv-e98533cbbd871495593879c3ae7b1fe204434a07.tar.gz
lilv-e98533cbbd871495593879c3ae7b1fe204434a07.tar.bz2
lilv-e98533cbbd871495593879c3ae7b1fe204434a07.zip
Remove slv2_value_as_librdf_uri.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2892 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/port.c b/src/port.c
index ccf5844..b9a4671 100644
--- a/src/port.c
+++ b/src/port.c
@@ -107,7 +107,7 @@ slv2_port_has_property(SLV2Plugin p,
p,
port_node,
librdf_new_node_from_uri_string(p->world->world, SLV2_NS_LV2 "portProperty"),
- librdf_new_node_from_uri(p->world->world, slv2_value_as_librdf_uri(property)));
+ slv2_value_as_node(property));
const bool ret = !slv2_matches_end(results);
END_MATCH(results);
@@ -128,7 +128,7 @@ slv2_port_supports_event(SLV2Plugin p,
p,
port_node,
librdf_new_node_from_uri_string(p->world->world, NS_EV "supportsEvent"),
- librdf_new_node_from_uri(p->world->world, slv2_value_as_librdf_uri(event)));
+ slv2_value_as_node(event));
const bool ret = !slv2_matches_end(results);
END_MATCH(results);
@@ -210,8 +210,7 @@ slv2_port_get_value(SLV2Plugin p,
return slv2_port_get_value_by_node(
p, port,
- librdf_new_node_from_uri(p->world->world,
- slv2_value_as_librdf_uri(predicate)));
+ slv2_value_as_node(predicate));
}