Browse Source

Update for latest serd.

git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4035 a436a847-0d15-0410-975c-d299462d15a1
zrythm_meson
David Robillard 11 years ago
parent
commit
a20303d251
  1. 4
      src/sratom.c

4
src/sratom.c

@ -206,7 +206,7 @@ sratom_write(Sratom* sratom, @@ -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_file_uri(str, NULL, NULL);
object = serd_node_new_file_uri(str, NULL, NULL, false);
} else {
SerdEnv* env = serd_writer_get_env(writer);
SerdURI base_uri = SERD_URI_NULL;
@ -218,7 +218,7 @@ sratom_write(Sratom* sratom, @@ -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_file_uri(str, NULL, NULL);
SerdNode rel = serd_node_new_file_uri(str, NULL, NULL, false);
object = serd_node_new_uri_from_node(&rel, &base_uri, NULL);
serd_node_free(&rel);
}

Loading…
Cancel
Save