From ab74953ba3f8ff649ff1c53536a7b649763c677d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Feb 2012 04:18:53 +0000 Subject: Clean up documentation. Improve object query function names. --- plugins/eg-sampler.lv2/uris.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/eg-sampler.lv2/uris.h') diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h index 820b585..de1cbd3 100644 --- a/plugins/eg-sampler.lv2/uris.h +++ b/plugins/eg-sampler.lv2/uris.h @@ -114,7 +114,7 @@ read_set_file(const SamplerURIs* uris, /* Get body of message. */ const LV2_Atom_Object* body = NULL; - lv2_object_getv(obj, uris->msg_body, &body, 0); + lv2_object_get(obj, uris->msg_body, &body, 0); if (!body) { fprintf(stderr, "Malformed set message has no body.\n"); return NULL; @@ -126,7 +126,7 @@ read_set_file(const SamplerURIs* uris, /* Get file path from body. */ const LV2_Atom* file_path = NULL; - lv2_object_getv(body, uris->eg_file, &file_path, 0); + lv2_object_get(body, uris->eg_file, &file_path, 0); if (!file_path) { fprintf(stderr, "Ignored set message with no file PATH.\n"); return NULL; -- cgit v1.2.1