don't double-call methods via UICallback::call_slot() when they are already connected via the event loop call_slot() method

git-svn-id: svn://localhost/ardour2/branches/3.0@6444 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-01-04 18:15:05 +00:00
parent 4abb46a7d5
commit 18c5d24951
1 changed files with 3 additions and 3 deletions

View File

@ -404,19 +404,19 @@ StreamView::region_layered (RegionView* rv)
void
StreamView::rec_enable_changed ()
{
Gtkmm2ext::UI::instance()->call_slot (boost::bind (&StreamView::setup_rec_box, this));
setup_rec_box ();
}
void
StreamView::sess_rec_enable_changed ()
{
Gtkmm2ext::UI::instance()->call_slot (boost::bind (&StreamView::setup_rec_box, this));
setup_rec_box ();
}
void
StreamView::transport_changed()
{
Gtkmm2ext::UI::instance()->call_slot (boost::bind (&StreamView::setup_rec_box, this));
setup_rec_box ();
}
void