summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-16 02:14:40 +0000
committerDavid Robillard <d@drobilla.net>2011-02-16 02:14:40 +0000
commitbeebe6550e4fc00780b9cff57084bf5da3c56118 (patch)
tree861a5de6f3398c9115ab1930688193c4cce3b5dc /src/plugin.c
parent4cc15fb56f579e7eab9e0b947c433b96bc4c26f8 (diff)
downloadlilv-beebe6550e4fc00780b9cff57084bf5da3c56118.tar.gz
lilv-beebe6550e4fc00780b9cff57084bf5da3c56118.tar.bz2
lilv-beebe6550e4fc00780b9cff57084bf5da3c56118.zip
Update for new Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2956 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 773f3de..cf6d6d4 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -469,7 +469,7 @@ slv2_plugin_get_value_for_subject(SLV2Plugin p,
SLV2Node subject_node = (slv2_value_is_uri(subject))
? slv2_node_copy(subject->val.uri_val)
- : sord_new_blank(p->world->model,
+ : sord_new_blank(p->world->world,
(const uint8_t*)slv2_value_as_blank(subject));
if (!subject_node) {
@@ -702,7 +702,7 @@ static SLV2Node
slv2_plugin_get_author(SLV2Plugin p)
{
SLV2Node doap_maintainer = sord_new_uri(
- p->world->model, NS_DOAP "maintainer");
+ p->world->world, NS_DOAP "maintainer");
SLV2Matches maintainers = slv2_plugin_find_statements(
p,
@@ -730,7 +730,7 @@ slv2_plugin_get_author_name(SLV2Plugin plugin)
if (author) {
return slv2_plugin_get_one(
plugin, author, sord_new_uri(
- plugin->world->model, NS_FOAF "name"));
+ plugin->world->world, NS_FOAF "name"));
}
return NULL;
}
@@ -743,7 +743,7 @@ slv2_plugin_get_author_email(SLV2Plugin plugin)
if (author) {
return slv2_plugin_get_one(
plugin, author, sord_new_uri(
- plugin->world->model, NS_FOAF "mbox"));
+ plugin->world->world, NS_FOAF "mbox"));
}
return NULL;
}
@@ -756,7 +756,7 @@ slv2_plugin_get_author_homepage(SLV2Plugin plugin)
if (author) {
return slv2_plugin_get_one(
plugin, author, sord_new_uri(
- plugin->world->model, NS_FOAF "homepage"));
+ plugin->world->world, NS_FOAF "homepage"));
}
return NULL;
}
@@ -768,9 +768,8 @@ slv2_plugin_get_uis(SLV2Plugin p)
{
#define NS_UI (const uint8_t*)"http://lv2plug.in/ns/extensions/ui#"
- SLV2Node ui_ui = sord_new_uri(p->world->model, NS_UI "ui");
-
- SLV2Node ui_binary_node = sord_new_uri(p->world->model, NS_UI "binary");
+ SLV2Node ui_ui = sord_new_uri(p->world->world, NS_UI "ui");
+ SLV2Node ui_binary_node = sord_new_uri(p->world->world, NS_UI "binary");
SLV2UIs result = slv2_uis_new();
SLV2Matches uis = slv2_plugin_find_statements(