summaryrefslogtreecommitdiffstats
path: root/src/sratom
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-08 17:33:50 +0000
committerDavid Robillard <d@drobilla.net>2012-03-08 17:33:50 +0000
commita442a47f3a6265de156ad278760f50438cbdde64 (patch)
tree5f0787cd590c9ef978b4b6e879de11d46a5153e3 /src/sratom
parentc89a62e1c8b399a8ecb753e5e14efc33e64bc971 (diff)
downloadlilv-a442a47f3a6265de156ad278760f50438cbdde64.tar.gz
lilv-a442a47f3a6265de156ad278760f50438cbdde64.tar.bz2
lilv-a442a47f3a6265de156ad278760f50438cbdde64.zip
serd_node_new_uri_from_path => serd_node_new_file_uri.
Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4031 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/sratom')
-rw-r--r--src/sratom/sratom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sratom/sratom.c b/src/sratom/sratom.c
index 2117705..1e74067 100644
--- a/src/sratom/sratom.c
+++ b/src/sratom/sratom.c
@@ -206,7 +206,7 @@ sratom_write(Sratom* sratom,
const uint8_t* str = USTR(body);
if (path_is_absolute((const char*)str)) {
new_node = true;
- object = serd_node_new_uri_from_path(str, NULL, NULL);
+ object = serd_node_new_file_uri(str, NULL, NULL);
} else {
SerdEnv* env = serd_writer_get_env(writer);
SerdURI base_uri = SERD_URI_NULL;
@@ -218,7 +218,7 @@ sratom_write(Sratom* sratom,
datatype = serd_node_from_string(SERD_URI, USTR(LV2_ATOM__Path));
} else {
new_node = true;
- SerdNode rel = serd_node_new_uri_from_path(str, NULL, NULL);
+ SerdNode rel = serd_node_new_file_uri(str, NULL, NULL);
object = serd_node_new_uri_from_node(&rel, &base_uri, NULL);
serd_node_free(&rel);
}