From 920128cdb2bb7fe99a000965f26efb2f72cff524 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 31 Jan 2011 17:02:46 +0000 Subject: 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 --- src/pluginclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pluginclass.c') diff --git a/src/pluginclass.c b/src/pluginclass.c index 39f1764..9997253 100644 --- a/src/pluginclass.c +++ b/src/pluginclass.c @@ -37,10 +37,10 @@ slv2_plugin_class_new(SLV2World world, assert(!parent_node || librdf_node_is_resource(parent_node)); SLV2PluginClass pc = (SLV2PluginClass)malloc(sizeof(struct _SLV2PluginClass)); pc->world = world; - pc->uri = slv2_value_new_librdf_uri(world, uri); + pc->uri = slv2_value_new_from_node(world, uri); pc->label = slv2_value_new(world, SLV2_VALUE_STRING, label); pc->parent_uri = (parent_node) - ? slv2_value_new_librdf_uri(world, parent_node) + ? slv2_value_new_from_node(world, parent_node) : NULL; return pc; } -- cgit v1.2.1