summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-07 04:18:23 +0200
committerRobin Gareus <robin@gareus.org>2013-07-07 04:18:23 +0200
commit3c6ff2f02f66eca9796cdc4ced5e39d91b4e22b7 (patch)
treea7244282065eb2ebb865bfd4d80c340c694b4075 /gtk2_ardour/ardour_ui.h
parent539e58bf5dc4ef3a815e6ef3d277c2ddd00284e5 (diff)
fix/workaround window-proxy session-management
The window proxy defers construction of classes. set_session() is called before the instances are available. the proxy-manager only calls set_session() for SessionHandlePtr but not the class-specific method.. fixes http://tracker.ardour.org/view.php?id=5566
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r--gtk2_ardour/ardour_ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h
index 0ed5d145b4..e7bc5a2782 100644
--- a/gtk2_ardour/ardour_ui.h
+++ b/gtk2_ardour/ardour_ui.h
@@ -579,7 +579,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
WM::Proxy<AddRouteDialog> add_route_dialog;
WM::Proxy<About> about;
WM::Proxy<LocationUIWindow> location_ui;
- WM::Proxy<RouteParams_UI> route_params;
/* Windows/Dialogs that require a creator method */
@@ -589,6 +588,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
WM::ProxyWithConstructor<BigClockWindow> big_clock_window;
WM::ProxyWithConstructor<GlobalPortMatrixWindow> audio_port_matrix;
WM::ProxyWithConstructor<GlobalPortMatrixWindow> midi_port_matrix;
+ WM::ProxyWithConstructor<RouteParams_UI> route_params;
/* creator methods */
@@ -597,6 +597,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
AddVideoDialog* create_add_video_dialog ();
BigClockWindow* create_big_clock_window();
GlobalPortMatrixWindow* create_global_port_matrix (ARDOUR::DataType);
+ RouteParams_UI* create_route_params_window ();
static UIConfiguration *ui_config;