summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-18 00:45:27 +0100
committerDavid Robillard <d@drobilla.net>2019-01-12 18:20:04 +0100
commit8c19e157e148efb59d6ea2f815783755b6075c7e (patch)
tree094a95326138dd3a46cbd52b84981e36faebc64a /src/gui/NodeModule.cpp
parent967a8b9d6690a5ece385d07af04c322d645de23f (diff)
downloadingen-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/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp2
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()),