diff options
Diffstat (limited to 'src/pluginclass.c')
-rw-r--r-- | src/pluginclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |