From e98533cbbd871495593879c3ae7b1fe204434a07 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 31 Jan 2011 17:26:30 +0000 Subject: Remove slv2_value_as_librdf_uri. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2892 a436a847-0d15-0410-975c-d299462d15a1 --- src/port.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/port.c') 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)); } -- cgit v1.2.1