diff options
author | David Robillard <d@drobilla.net> | 2017-12-18 00:45:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-12 18:20:04 +0100 |
commit | 8c19e157e148efb59d6ea2f815783755b6075c7e (patch) | |
tree | 094a95326138dd3a46cbd52b84981e36faebc64a /src/gui | |
parent | 967a8b9d6690a5ece385d07af04c322d645de23f (diff) | |
download | ingen-8c19e157e148efb59d6ea2f815783755b6075c7e.tar.gz ingen-8c19e157e148efb59d6ea2f815783755b6075c7e.tar.bz2 ingen-8c19e157e148efb59d6ea2f815783755b6075c7e.zip |
Rename Atom::get_body to Atom::body and use Atom::ptr consistently
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/NodeModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<float>()); + _plugin_ui->port_event(index, sizeof(float), 0, value.body()); } else { _plugin_ui->port_event(index, lv2_atom_total_size(value.atom()), |