From bb457bb960c5bd7ed538f9d31477293415739f68 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 Jan 2008 21:20:59 +0000 Subject: Merge libs/ardour and gtk2_ardour with 2.0-ongoing R2837. git-svn-id: svn://localhost/ardour2/trunk@2883 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_keyboard.cc | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'gtk2_ardour/editor_keyboard.cc') 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 @@ -90,29 +90,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) { @@ -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); -} -- cgit v1.2.3