diff options
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 15 |
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( |