diff options
author | David Robillard <d@drobilla.net> | 2008-01-10 21:20:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-10 21:20:59 +0000 |
commit | bb457bb960c5bd7ed538f9d31477293415739f68 (patch) | |
tree | 84324a63b87c03589cd165b9e474296eaebb4772 /gtk2_ardour/editor_keyboard.cc | |
parent | 73dd9d37e7d715e0d78c0e51569968f9494dac7f (diff) |
Merge libs/ardour and gtk2_ardour with 2.0-ongoing R2837.
git-svn-id: svn://localhost/ardour2/trunk@2883 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_keyboard.cc')
-rw-r--r-- | gtk2_ardour/editor_keyboard.cc | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gtk2_ardour/editor_keyboard.cc b/gtk2_ardour/editor_keyboard.cc index 2912e2f4ee..4a5d55d879 100644 --- a/gtk2_ardour/editor_keyboard.cc +++ b/gtk2_ardour/editor_keyboard.cc @@ -91,29 +91,6 @@ Editor::kbd_mute_unmute_region () } void -Editor::kbd_set_sync_position () -{ - kbd_driver (mem_fun(*this, &Editor::kbd_do_set_sync_position), true, true, false); -} - -void -Editor::kbd_do_set_sync_position (GdkEvent* ev) -{ - if (entered_regionview) { - nframes64_t where = event_frame (ev); - snap_to (where); - - set_a_regions_sync_position (entered_regionview->region(), where); - - } else if (entered_marker) { - - if (!selection->regions.empty()) { - set_a_regions_sync_position (selection->regions.front()->region(), entered_marker->position()); - } - } -} - -void Editor::kbd_do_brush (GdkEvent *ev) { brush (event_frame (ev, 0, 0)); @@ -125,14 +102,3 @@ Editor::kbd_brush () kbd_driver (mem_fun(*this, &Editor::kbd_do_brush), true, true, false); } -void -Editor::kbd_do_audition (GdkEvent *ignored) -{ - audition_selected_region (); -} - -void -Editor::kbd_audition () -{ - kbd_driver (mem_fun(*this, &Editor::kbd_do_audition), true, false, true); -} |