diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-07-07 22:12:21 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:21 -0500 |
commit | 9010262bed21611f2db652d16f63e4af4380259d (patch) | |
tree | b112724d2b26eb3b66b5e1c5571dbf6c5509cc24 /gtk2_ardour/processor_box.cc | |
parent | 85eee3b09dd53f6f5d1803f2b585270ab535e16f (diff) |
first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 68beac400a..4271f313fd 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -2002,7 +2002,7 @@ ProcessorBox::maybe_add_processor_to_ui_list (boost::weak_ptr<Processor> w) const XMLNode* ui_xml = _session->extra_xml (X_("UI")); if (ui_xml) { - wp->set_state (*ui_xml); + wp->set_state (*ui_xml, 0); } void* existing_ui = p->get_ui (); @@ -3305,7 +3305,7 @@ ProcessorWindowProxy::session_handle() } XMLNode& -ProcessorWindowProxy::get_state () const +ProcessorWindowProxy::get_state () { XMLNode *node; node = &ProxyBase::get_state(); @@ -3313,8 +3313,8 @@ ProcessorWindowProxy::get_state () const return *node; } -void -ProcessorWindowProxy::set_state (const XMLNode& node) +int +ProcessorWindowProxy::set_state (const XMLNode& node, int /*version*/) { XMLNodeList children = node.children (); XMLNodeList::const_iterator i = children.begin (); @@ -3333,7 +3333,7 @@ ProcessorWindowProxy::set_state (const XMLNode& node) } } - ProxyBase::set_state(node); + return ProxyBase::set_state (node, 0); } Gtk::Window* |