aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-03 21:45:24 +0000
committerDavid Robillard <d@drobilla.net>2012-03-03 21:45:24 +0000
commit3b305f4ce137072a4a48d4a3c670331d8a0c3cca (patch)
treea23c6f143526173ac2556c923b0f977475e392bf
parentbfc1c082a915b25d9e4829abb76c8df4452bd2fd (diff)
downloadjalv-3b305f4ce137072a4a48d4a3c670331d8a0c3cca.tar.gz
jalv-3b305f4ce137072a4a48d4a3c670331d8a0c3cca.tar.bz2
jalv-3b305f4ce137072a4a48d4a3c670331d8a0c3cca.zip
Update for latest Lilv.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4021 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/state.c b/src/state.c
index c052c9c..2b3be37 100644
--- a/src/state.c
+++ b/src/state.c
@@ -84,8 +84,8 @@ jalv_save(Jalv* jalv, const char* dir)
get_port_value, jalv,
LV2_STATE_IS_POD|LV2_STATE_IS_PORTABLE, NULL);
- lilv_state_save(jalv->world, &jalv->unmap, state, NULL,
- dir, "state.ttl", NULL);
+ lilv_state_save(jalv->world, &jalv->map, &jalv->unmap, state, NULL,
+ dir, "state.ttl");
lilv_state_free(state);
@@ -194,8 +194,8 @@ jalv_save_preset(Jalv* jalv, const char* dir, const char* uri, const char* label
lilv_state_set_label(state, label);
}
- int ret = lilv_state_save(jalv->world, &jalv->unmap, state,
- uri, dir, "state.ttl", NULL);
+ int ret = lilv_state_save(jalv->world, &jalv->map, &jalv->unmap, state,
+ uri, dir, "state.ttl");
lilv_state_free(state);
return ret;