summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-04 20:16:58 +0000
committerDavid Robillard <d@drobilla.net>2011-02-04 20:16:58 +0000
commit129fdda1b59abb4893094c69f023e06525ae58f0 (patch)
tree64791192d8eca34440b0629cf9ae7ab0444ef81d /src/world.c
parentf7226f4a05b34429911dd15082fbe8d6a96eccf8 (diff)
downloadlilv-129fdda1b59abb4893094c69f023e06525ae58f0.tar.gz
lilv-129fdda1b59abb4893094c69f023e06525ae58f0.tar.bz2
lilv-129fdda1b59abb4893094c69f023e06525ae58f0.zip
Update for Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2911 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/world.c b/src/world.c
index 970cf9d..775bc64 100644
--- a/src/world.c
+++ b/src/world.c
@@ -46,16 +46,12 @@ slv2_world_new()
{
SLV2World world = (SLV2World)malloc(sizeof(struct _SLV2World));
- world->model = sord_new();
+ world->model = sord_new(SORD_SPO|SORD_OPS, true);
if (!world->model)
goto fail;
- if (!sord_open(world->model))
- goto fail;
-
world->plugin_classes = slv2_plugin_classes_new();
-
- world->plugins = slv2_plugins_new();
+ world->plugins = slv2_plugins_new();
#define NS_DYNMAN (const uint8_t*)"http://lv2plug.in/ns/ext/dynmanifest#"