diff options
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 15035fa594..3a1515cef3 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -50,7 +50,7 @@ class PortMatrixBody; class PortMatrix : public Gtk::Table { public: - PortMatrix (ARDOUR::Session&, ARDOUR::DataType); + PortMatrix (Gtk::Window*, ARDOUR::Session&, ARDOUR::DataType); ~PortMatrix (); void set_type (ARDOUR::DataType); @@ -112,7 +112,6 @@ public: std::pair<uint32_t, uint32_t> max_size () const; void setup_max_size (); - sigc::signal<void> MaxSizeChanged; /** @param c Channels; where c[0] is from _ports[0] and c[1] is from _ports[1]. * @param s New state. @@ -172,6 +171,8 @@ private: bool on_scroll_event (GdkEventScroll *); boost::shared_ptr<ARDOUR::IO> io_from_bundle (boost::shared_ptr<ARDOUR::Bundle>) const; + Gtk::Window* _parent; + /// port type that we are working with ARDOUR::DataType _type; std::vector<sigc::connection> _route_connections; |