From 4cc15fb56f579e7eab9e0b947c433b96bc4c26f8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Feb 2011 01:16:32 +0000 Subject: Update for new Sord API. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1 --- src/port.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/port.c') diff --git a/src/port.c b/src/port.c index bcd599c..49e0d45 100644 --- a/src/port.c +++ b/src/port.c @@ -120,7 +120,7 @@ slv2_port_supports_event(SLV2Plugin p, SLV2Matches results = slv2_plugin_find_statements( p, port_node, - sord_get_uri(p->world->model, true, NS_EV "supportsEvent"), + sord_new_uri(p->world->model, NS_EV "supportsEvent"), slv2_value_as_node(event)); const bool ret = !slv2_matches_end(results); @@ -144,7 +144,7 @@ slv2_port_get_value_by_qname(SLV2Plugin p, SLV2Matches results = slv2_plugin_find_statements( p, port_node, - sord_get_uri(p->world->model, true, pred_uri), + sord_new_uri(p->world->model, pred_uri), NULL); free(pred_uri); @@ -266,7 +266,7 @@ slv2_port_get_scale_points(SLV2Plugin p, SLV2Matches points = slv2_plugin_find_statements( p, port_node, - sord_get_uri(p->world->model, true, SLV2_NS_LV2 "scalePoint"), + sord_new_uri(p->world->model, SLV2_NS_LV2 "scalePoint"), NULL); SLV2ScalePoints ret = NULL; -- cgit v1.2.1