diff --git a/include/clap/helpers/host-proxy.hh b/include/clap/helpers/host-proxy.hh index 14a7720..0b65f9b 100644 --- a/include/clap/helpers/host-proxy.hh +++ b/include/clap/helpers/host-proxy.hh @@ -198,7 +198,7 @@ namespace clap { namespace helpers { size_t undo_delta_size) const noexcept; void undoUndo(const clap_host_t *host) const noexcept; void undoRedo(const clap_host_t *host) const noexcept; - void undoSetWantsContextInfo(const clap_host_t *host, bool wants_info) const noexcept; + void undoSetContextInfoSubscription(const clap_host_t *host, bool wants_info) const noexcept; protected: void ensureMainThread(const char *method) const noexcept; diff --git a/include/clap/helpers/host-proxy.hxx b/include/clap/helpers/host-proxy.hxx index a9dc1ba..068f81c 100644 --- a/include/clap/helpers/host-proxy.hxx +++ b/include/clap/helpers/host-proxy.hxx @@ -692,7 +692,7 @@ namespace clap { namespace helpers { return false; if (_hostUndo->begin_change && _hostUndo->cancel_change && _hostUndo->change_made && - _hostUndo->undo && _hostUndo->redo && _hostUndo->set_wants_context_info) + _hostUndo->undo && _hostUndo->redo && _hostUndo->set_context_info_subscription) return true; return false; @@ -738,11 +738,11 @@ namespace clap { namespace helpers { } template - void HostProxy::undoSetWantsContextInfo(const clap_host_t *host, + void HostProxy::undoSetContextInfoSubscription(const clap_host_t *host, bool wants_info) const noexcept { assert(canUseUndo()); - ensureMainThread("undo.set_wants_context_info"); - _hostUndo->set_wants_context_info(_host, wants_info); + ensureMainThread("undo.set_context_info_subscription"); + _hostUndo->set_context_info_subscription(_host, wants_info); } }} // namespace clap::helpers