summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 01:16:32 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 01:16:32 +0000
commit4cc15fb56f579e7eab9e0b947c433b96bc4c26f8 (patch)
treefeb005fcf32b46e5e39cc919f31939d54f94b236 /src/port.c
parentb9f9dac34231a12828d5427f54fc41be57eefaa5 (diff)
downloadlilv-4cc15fb56f579e7eab9e0b947c433b96bc4c26f8.tar.gz
lilv-4cc15fb56f579e7eab9e0b947c433b96bc4c26f8.tar.bz2
lilv-4cc15fb56f579e7eab9e0b947c433b96bc4c26f8.zip
Update for new Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2955 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c6
1 files changed, 3 insertions, 3 deletions
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;