From ea8e4e2982328a1941bbe6bbdc96f954598a1174 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 9 Nov 2011 02:14:18 +0000 Subject: Rename Object to Thing. Add definition of Message. --- plugins/eg-sampler.lv2/sampler.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/eg-sampler.lv2/sampler.c') diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index 5a00e64..ecebc12 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -277,14 +277,14 @@ run(LV2_Handle instance, plugin->play = true; } } else if (ev->body.type == plugin->atom_message_id) { - const LV2_Object* msg = (LV2_Object*)&ev->body; + const LV2_Thing* msg = (LV2_Thing*)&ev->body; if (msg->id == plugin->set_message_id) { const LV2_Atom* filename = NULL; - LV2_Object_Query q[] = { + LV2_Thing_Query q[] = { { plugin->filename_key_id, &filename }, - LV2_OBJECT_QUERY_END + LV2_THING_QUERY_END }; - lv2_object_query(msg, q); + lv2_thing_query(msg, q); if (filename) { memcpy(plugin->pending_samp->filepath, -- cgit v1.2.1