From 8c19e157e148efb59d6ea2f815783755b6075c7e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Dec 2017 00:45:27 +0100 Subject: Rename Atom::get_body to Atom::body and use Atom::ptr consistently --- src/gui/NodeModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 8605e91d..c73cb91e 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -222,7 +222,7 @@ NodeModule::port_value_changed(uint32_t index, const Atom& value) if (value.type() == uris.atom_Float && _block->get_port(index)->is_numeric()) { - _plugin_ui->port_event(index, sizeof(float), 0, value.ptr()); + _plugin_ui->port_event(index, sizeof(float), 0, value.body()); } else { _plugin_ui->port_event(index, lv2_atom_total_size(value.atom()), -- cgit v1.2.1