diff options
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler_ui.c')
-rw-r--r-- | plugins/eg-sampler.lv2/sampler_ui.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c index 24a79aa..f8cc560 100644 --- a/plugins/eg-sampler.lv2/sampler_ui.c +++ b/plugins/eg-sampler.lv2/sampler_ui.c @@ -73,13 +73,13 @@ on_load_clicked(GtkWidget* widget, gtk_widget_destroy(dialog); uint8_t msg_buf[4096]; - LV2_Object* msg = (LV2_Object*)msg_buf; + LV2_Thing* msg = (LV2_Thing*)msg_buf; lv2_atom_forge_set_message(ui->forge, msg, uri_to_id(ui, SET_MESSAGE_URI)); - lv2_object_append(msg, - uri_to_id(ui, FILENAME_URI), - uri_to_id(ui, NS_ATOM "String"), - filename_len, - filename); + lv2_thing_append(msg, + uri_to_id(ui, FILENAME_URI), + uri_to_id(ui, NS_ATOM "String"), + filename_len, + filename); ui->write(ui->controller, 0, sizeof(LV2_Atom) + msg->size, uri_to_id(ui, NS_ATOM "atomTransfer"), |