summaryrefslogtreecommitdiff
path: root/gtk2_ardour/session_option_editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/session_option_editor.cc')
-rw-r--r--gtk2_ardour/session_option_editor.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/session_option_editor.cc b/gtk2_ardour/session_option_editor.cc
index aaa16694b6..cbcb3ecb78 100644
--- a/gtk2_ardour/session_option_editor.cc
+++ b/gtk2_ardour/session_option_editor.cc
@@ -14,8 +14,8 @@ using namespace ARDOUR;
class OptionsPortMatrix : public PortMatrix
{
public:
- OptionsPortMatrix (ARDOUR::Session& session)
- : PortMatrix (session, DataType::AUDIO)
+ OptionsPortMatrix (Gtk::Window* parent, ARDOUR::Session& session)
+ : PortMatrix (parent, session, DataType::AUDIO)
{
_port_group.reset (new PortGroup (""));
_ports[OURS].add_group (_port_group);
@@ -117,8 +117,8 @@ private:
class ConnectionOptions : public OptionEditorBox
{
public:
- ConnectionOptions (ARDOUR::Session* s)
- : _port_matrix (*s)
+ ConnectionOptions (Gtk::Window* parent, ARDOUR::Session* s)
+ : _port_matrix (parent, *s)
{
_box->pack_start (_port_matrix);
}
@@ -330,5 +330,5 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
mem_fun (*_session_config, &SessionConfiguration::set_bwf_organization_code)
));
- add_option (_("Connections"), new ConnectionOptions (s));
+ add_option (_("Connections"), new ConnectionOptions (this, s));
}