From 2afaa517170fe18c3448ba7378621d80ee5667cf Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 Jul 2016 09:17:55 -0400 Subject: remove pointless version of Stripable::set_presentation_order() --- libs/ardour/ardour/stripable.h | 1 - libs/ardour/session.cc | 2 +- libs/ardour/stripable.cc | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) (limited to 'libs/ardour') diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h index 8ad02c98b3..7cf3da1f9a 100644 --- a/libs/ardour/ardour/stripable.h +++ b/libs/ardour/ardour/stripable.h @@ -77,7 +77,6 @@ class LIBARDOUR_API Stripable : public SessionObject { /* set just the order */ void set_presentation_order (PresentationInfo::order_t, bool notify_class_listeners = true); - void set_presentation_order_explicit (PresentationInfo::order_t); struct PresentationOrderSorter { bool operator() (boost::shared_ptr a, boost::shared_ptr b) { diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index fb73ecbd36..043d72d128 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3453,7 +3453,7 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool if (order == PresentationInfo::max_order) { /* just add to the end */ - r->set_presentation_order_explicit (n_routes + added); + r->set_presentation_order (n_routes + added, false); DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("group order not set, set to NR %1 + %2 = %3\n", n_routes, added, n_routes + added)); } else { r->set_presentation_order (order + added); diff --git a/libs/ardour/stripable.cc b/libs/ardour/stripable.cc index 2a86ef2529..744c103e48 100644 --- a/libs/ardour/stripable.cc +++ b/libs/ardour/stripable.cc @@ -48,12 +48,6 @@ Stripable::set_presentation_order (PresentationInfo::order_t order, bool notify_ } } -void -Stripable::set_presentation_order_explicit (PresentationInfo::order_t order) -{ - _presentation_info.set_order (order); -} - int Stripable::set_state (XMLNode const& node, int version) { -- cgit v1.2.3