Remove old RegionPropertyChanged signal (3/3)
This commit is contained in:
parent
283cade057
commit
f6c011cb65
|
@ -99,8 +99,6 @@ public:
|
|||
|
||||
static void make_property_quarks ();
|
||||
|
||||
static PBD::Signal2<void,boost::shared_ptr<ARDOUR::Region>, const PBD::PropertyChange&> RegionPropertyChanged;
|
||||
|
||||
static PBD::Signal2<void,boost::shared_ptr<RegionList>, const PBD::PropertyChange&> RegionsPropertyChanged;
|
||||
|
||||
typedef std::map <PBD::PropertyChange, RegionList> ChangeMap;
|
||||
|
|
|
@ -626,7 +626,6 @@ Playlist::flush_notifications (bool from_undo)
|
|||
remove_dependents (*s);
|
||||
RegionRemoved (boost::weak_ptr<Region> (*s)); /* EMIT SIGNAL */
|
||||
rl->push_back (*s);
|
||||
Region::RegionPropertyChanged (*s, Properties::hidden); // XXX remove me
|
||||
}
|
||||
if (rl->size () > 0) {
|
||||
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
||||
|
|
|
@ -86,7 +86,6 @@ namespace ARDOUR {
|
|||
}
|
||||
}
|
||||
|
||||
PBD::Signal2<void,boost::shared_ptr<ARDOUR::Region>,const PropertyChange&> Region::RegionPropertyChanged;
|
||||
PBD::Signal2<void,boost::shared_ptr<ARDOUR::RegionList>,const PropertyChange&> Region::RegionsPropertyChanged;
|
||||
|
||||
void
|
||||
|
@ -1507,8 +1506,6 @@ Region::send_change (const PropertyChange& what_changed)
|
|||
boost::shared_ptr<RegionList> rl (new RegionList);
|
||||
rl->push_back (rptr);
|
||||
RegionsPropertyChanged (rl, what_changed);
|
||||
|
||||
RegionPropertyChanged (rptr, what_changed); // XXX remove me
|
||||
}
|
||||
} catch (...) {
|
||||
/* no shared_ptr available, relax; */
|
||||
|
|
|
@ -659,13 +659,6 @@ Track::find_and_use_playlist (DataType dt, PBD::ID const & id)
|
|||
return use_playlist (dt, playlist);
|
||||
}
|
||||
|
||||
void
|
||||
update_region_visibility(boost::shared_ptr<Region> r)
|
||||
{
|
||||
Region::RegionPropertyChanged(r, Properties::hidden); // XXX remove me
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
Track::use_playlist (DataType dt, boost::shared_ptr<Playlist> p)
|
||||
{
|
||||
|
@ -688,14 +681,12 @@ Track::use_playlist (DataType dt, boost::shared_ptr<Playlist> p)
|
|||
if (rl->size () > 0) {
|
||||
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
||||
}
|
||||
old->foreach_region(update_region_visibility); // XXX remove me
|
||||
}
|
||||
if (p) {
|
||||
boost::shared_ptr<RegionList> rl (new RegionList (p->region_list_property ().rlist ()));
|
||||
if (rl->size () > 0) {
|
||||
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
||||
}
|
||||
p->foreach_region(update_region_visibility); // XXX remove me
|
||||
}
|
||||
|
||||
_session.set_dirty ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user