summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-31 17:02:46 +0000
committerDavid Robillard <d@drobilla.net>2011-01-31 17:02:46 +0000
commit920128cdb2bb7fe99a000965f26efb2f72cff524 (patch)
tree8ed0017abae53621893b91eadb66f7403e12fa2f /src/plugin.c
parentd394e7d292c8cc686a11a08984e2d11d704cf329 (diff)
downloadlilv-920128cdb2bb7fe99a000965f26efb2f72cff524.tar.gz
lilv-920128cdb2bb7fe99a000965f26efb2f72cff524.tar.bz2
lilv-920128cdb2bb7fe99a000965f26efb2f72cff524.zip
slv2_value_new_librdf_node => slv2_value_new_from_node .
Remove slv2_value_new_librdf_uri. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2891 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugin.c b/src/plugin.c
index c1272aa..57e0dc6 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -125,7 +125,7 @@ slv2_plugin_query_node(SLV2Plugin p, SLV2Node subject, SLV2Node predicate)
SLV2Values result = slv2_values_new();
FOREACH_MATCH(results) {
SLV2Node node = MATCH_OBJECT(results);
- SLV2Value value = slv2_value_new_librdf_node(p->world, node);
+ SLV2Value value = slv2_value_new_from_node(p->world, node);
if (value)
raptor_sequence_push(result, value);
}
@@ -226,7 +226,7 @@ slv2_plugin_load_ports_if_necessary(SLV2Plugin p)
if (librdf_node_is_resource(type)) {
raptor_sequence_push(
this_port->classes,
- slv2_value_new_librdf_uri(p->world, type));
+ slv2_value_new_from_node(p->world, type));
} else {
SLV2_WARN("port has non-URI rdf:type\n");
}
@@ -339,7 +339,7 @@ slv2_plugin_get_library_uri(SLV2Plugin p)
FOREACH_MATCH(results) {
SLV2Node binary_node = MATCH_OBJECT(results);
if (librdf_node_is_resource(binary_node)) {
- p->binary_uri = slv2_value_new_librdf_uri(p->world, binary_node);
+ p->binary_uri = slv2_value_new_from_node(p->world, binary_node);
break;
}
}
@@ -373,7 +373,7 @@ slv2_plugin_get_class(SLV2Plugin p)
continue;
}
- SLV2Value class = slv2_value_new_librdf_uri(p->world, class_node);
+ SLV2Value class = slv2_value_new_from_node(p->world, class_node);
if ( ! slv2_value_equals(class, p->world->lv2_plugin_class->uri)) {
SLV2PluginClass plugin_class = slv2_plugin_classes_get_by_uri(
@@ -848,7 +848,7 @@ slv2_plugin_get_uis(SLV2Plugin p)
SLV2UI slv2_ui = slv2_ui_new(
p->world,
- slv2_value_new_librdf_uri(p->world, ui),
+ slv2_value_new_from_node(p->world, ui),
type,
binary);