RouteUI is no longer an AxisView so use ARDOUR_UI::instance()->gui_object_state() directly

This commit is contained in:
Paul Davis 2016-06-05 15:56:35 -04:00
parent 77f19ff8da
commit bdd2f25c8b

View File

@ -108,7 +108,7 @@ RouteUI::RouteUI (ARDOUR::Session* sess)
RouteUI::~RouteUI() RouteUI::~RouteUI()
{ {
if (_route) { if (_route) {
gui_object_state().remove_node (route_state_id()); ARDOUR_UI::instance()->gui_object_state->remove_node (route_state_id());
} }
_route.reset (); /* drop reference to route, so that it can be cleaned up */ _route.reset (); /* drop reference to route, so that it can be cleaned up */