summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_window.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-07 09:05:50 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-07 09:05:50 -0400
commitb40fe187758b6890579311a3250129288730a328 (patch)
treec6e878a895a589d44a2eb07f1f471fb1141b61b6 /gtk2_ardour/ardour_window.h
parenta88fa99049c3d4c5609f6cbcf4710ad56d77e964 (diff)
fix up inheritance heirarchy and constructors so that the Session Properties dialog IS-A ArdourWindow
... and is thus subject to Ctrl-w to close it
Diffstat (limited to 'gtk2_ardour/ardour_window.h')
-rw-r--r--gtk2_ardour/ardour_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_window.h b/gtk2_ardour/ardour_window.h
index a4c5aaa0e4..fe97855a49 100644
--- a/gtk2_ardour/ardour_window.h
+++ b/gtk2_ardour/ardour_window.h
@@ -37,7 +37,7 @@ namespace WM {
* method of connecting and disconnecting from a Session with
* all other objects that have a handle on a Session.
*/
-class ArdourWindow : public Gtk::Window, public ARDOUR::SessionHandlePtr, public Gtkmm2ext::VisibilityTracker
+class ArdourWindow : public Gtk::Window, public virtual ARDOUR::SessionHandlePtr, public Gtkmm2ext::VisibilityTracker
{
public:
ArdourWindow (std::string title);