summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-01-04 18:15:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-01-04 18:15:05 +0000
commit18c5d249514f8faa245047a7a5bb607c598221c5 (patch)
treed929263bd5fff5330dbbe0723581f78c01e03f65 /gtk2_ardour/streamview.cc
parent4abb46a7d5a51c39b1796703660667be279c3635 (diff)
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
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r--gtk2_ardour/streamview.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc
index a29ad7b4cc..e7914051a7 100644
--- a/gtk2_ardour/streamview.cc
+++ b/gtk2_ardour/streamview.cc
@@ -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