From a442a47f3a6265de156ad278760f50438cbdde64 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Mar 2012 17:33:50 +0000 Subject: 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 --- test/lilv_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lilv_test.c') diff --git a/test/lilv_test.c b/test/lilv_test.c index 6d5ba9d..5e2c54a 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -1156,7 +1156,7 @@ int test_state(void) { uint8_t* abs_bundle = (uint8_t*)lilv_path_absolute(LILV_TEST_BUNDLE); - SerdNode bundle = serd_node_new_uri_from_path(abs_bundle, 0, 0); + SerdNode bundle = serd_node_new_file_uri(abs_bundle, 0, 0); LilvWorld* world = lilv_world_new(); LilvNode* bundle_uri = lilv_new_uri(world, (const char*)bundle.buf); LilvNode* plugin_uri = lilv_new_uri(world, @@ -1272,7 +1272,7 @@ test_state(void) // Load default bundle into world and load state from it uint8_t* state6_path = (uint8_t*)lilv_path_absolute("state6.lv2/"); - SerdNode state6_uri = serd_node_new_uri_from_path(state6_path, 0, 0); + SerdNode state6_uri = serd_node_new_file_uri(state6_path, 0, 0); LilvNode* test_state_bundle = lilv_new_uri(world, (const char*)state6_uri.buf); LilvNode* test_state_node = lilv_new_uri(world, state_uri); lilv_world_load_bundle(world, test_state_bundle); -- cgit v1.2.1