diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-05-02 01:08:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-05-02 01:08:34 +0000 |
commit | 979b95a56e0ef76238513ecb42a3b9e7f4be2e58 (patch) | |
tree | 6c3469176a2ef15865b572859a6299968656374a /gtk2_ardour/editor_region_list.cc | |
parent | 433c518dc7c698c4dc41e2b75483718dd918b670 (diff) |
enable use of arrow keys, fix hscroller issues, start work on smoother auto-scroll
git-svn-id: svn://localhost/trunk/ardour2@490 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_region_list.cc')
-rw-r--r-- | gtk2_ardour/editor_region_list.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_region_list.cc b/gtk2_ardour/editor_region_list.cc index 4506b69b5e..bbcfb09a29 100644 --- a/gtk2_ardour/editor_region_list.cc +++ b/gtk2_ardour/editor_region_list.cc @@ -46,14 +46,17 @@ using namespace Glib; using namespace Editing; void -Editor::handle_audio_region_removed (AudioRegion* ignored) +Editor::handle_audio_region_removed (AudioRegion* region) { + ENSURE_GUI_THREAD (bind (mem_fun (*this, &Editor::handle_audio_region_removed), region)); redisplay_regions (); } void Editor::handle_new_audio_region (AudioRegion *region) { + ENSURE_GUI_THREAD (bind (mem_fun (*this, &Editor::handle_new_audio_region), region)); + /* don't copy region - the one we are being notified about belongs to the session, and so it will never be edited. |