summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.c b/src/world.c
index d24bad6..8ef301b 100644
--- a/src/world.c
+++ b/src/world.c
@@ -55,9 +55,9 @@ slv2_world_new()
#define NS_DYNMAN (const uint8_t*)"http://lv2plug.in/ns/ext/dynmanifest#"
-#define NEW_URI(uri) sord_get_uri(world->model, true, uri)
+#define NEW_URI(uri) sord_new_uri(world->model, uri)
#define NEW_URI_VAL(uri) slv2_value_new_from_node( \
- world,sord_get_uri(world->model, true, uri));
+ world, sord_new_uri(world->model, uri));
world->dyn_manifest_node = NEW_URI(NS_DYNMAN "DynManifest");
world->lv2_specification_node = NEW_URI(SLV2_NS_LV2 "Specification");
@@ -430,7 +430,7 @@ slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri)
SordQuad see_also_tup = {
slv2_node_copy(spec),
world->rdfs_seealso_node,
- sord_get_uri(world->model, true, manifest_uri.buf),
+ sord_new_uri(world->model, manifest_uri.buf),
NULL
};
sord_add(world->model, see_also_tup);