mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 22:56:32 +01:00
Remove old RegionPropertyChanged signal (3/3)
This commit is contained in:
parent
283cade057
commit
f6c011cb65
4 changed files with 0 additions and 15 deletions
|
|
@ -99,8 +99,6 @@ public:
|
||||||
|
|
||||||
static void make_property_quarks ();
|
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;
|
static PBD::Signal2<void,boost::shared_ptr<RegionList>, const PBD::PropertyChange&> RegionsPropertyChanged;
|
||||||
|
|
||||||
typedef std::map <PBD::PropertyChange, RegionList> ChangeMap;
|
typedef std::map <PBD::PropertyChange, RegionList> ChangeMap;
|
||||||
|
|
|
||||||
|
|
@ -626,7 +626,6 @@ Playlist::flush_notifications (bool from_undo)
|
||||||
remove_dependents (*s);
|
remove_dependents (*s);
|
||||||
RegionRemoved (boost::weak_ptr<Region> (*s)); /* EMIT SIGNAL */
|
RegionRemoved (boost::weak_ptr<Region> (*s)); /* EMIT SIGNAL */
|
||||||
rl->push_back (*s);
|
rl->push_back (*s);
|
||||||
Region::RegionPropertyChanged (*s, Properties::hidden); // XXX remove me
|
|
||||||
}
|
}
|
||||||
if (rl->size () > 0) {
|
if (rl->size () > 0) {
|
||||||
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
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;
|
PBD::Signal2<void,boost::shared_ptr<ARDOUR::RegionList>,const PropertyChange&> Region::RegionsPropertyChanged;
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -1507,8 +1506,6 @@ Region::send_change (const PropertyChange& what_changed)
|
||||||
boost::shared_ptr<RegionList> rl (new RegionList);
|
boost::shared_ptr<RegionList> rl (new RegionList);
|
||||||
rl->push_back (rptr);
|
rl->push_back (rptr);
|
||||||
RegionsPropertyChanged (rl, what_changed);
|
RegionsPropertyChanged (rl, what_changed);
|
||||||
|
|
||||||
RegionPropertyChanged (rptr, what_changed); // XXX remove me
|
|
||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
/* no shared_ptr available, relax; */
|
/* 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);
|
return use_playlist (dt, playlist);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
update_region_visibility(boost::shared_ptr<Region> r)
|
|
||||||
{
|
|
||||||
Region::RegionPropertyChanged(r, Properties::hidden); // XXX remove me
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
Track::use_playlist (DataType dt, boost::shared_ptr<Playlist> p)
|
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) {
|
if (rl->size () > 0) {
|
||||||
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
||||||
}
|
}
|
||||||
old->foreach_region(update_region_visibility); // XXX remove me
|
|
||||||
}
|
}
|
||||||
if (p) {
|
if (p) {
|
||||||
boost::shared_ptr<RegionList> rl (new RegionList (p->region_list_property ().rlist ()));
|
boost::shared_ptr<RegionList> rl (new RegionList (p->region_list_property ().rlist ()));
|
||||||
if (rl->size () > 0) {
|
if (rl->size () > 0) {
|
||||||
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
Region::RegionsPropertyChanged (rl, Properties::hidden);
|
||||||
}
|
}
|
||||||
p->foreach_region(update_region_visibility); // XXX remove me
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_session.set_dirty ();
|
_session.set_dirty ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue