Remove cruft: unused callback
authorRobin Gareus <robin@gareus.org>
Sun, 14 Jul 2019 16:37:11 +0000 (18:37 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 14 Jul 2019 16:49:25 +0000 (18:49 +0200)
gtk2_ardour/midi_time_axis.cc
gtk2_ardour/midi_time_axis.h

index 72fff56ef692c30846df134c51e11b2f514a9cad..e6ad8ec0965e1dd1fa7ca1094a9ba05a5a5eb01f 100644 (file)
@@ -231,8 +231,6 @@ MidiTimeAxisView::set_route (boost::shared_ptr<Route> rt)
                time_axis_hbox.pack_end(*v, false, false, 0);
                midi_scroomer_size_group->add_widget (*v);
 
-               midi_view()->NoteRangeChanged.connect (
-                       sigc::mem_fun(*this, &MidiTimeAxisView::update_range));
 
                /* ask for notifications of any new RegionViews */
                _view->RegionViewAdded.connect (
@@ -1147,11 +1145,6 @@ MidiTimeAxisView::set_note_range (MidiStreamView::VisibleNoteRange range, bool a
        }
 }
 
-void
-MidiTimeAxisView::update_range()
-{
-}
-
 void
 MidiTimeAxisView::show_all_automation (bool apply_to_selection)
 {
index 68c2c796b12d3796d55073b664fa683d1d731a55..1afac3c9e5db83abddbe3ebba41b4eba0d4d0f4b 100644 (file)
@@ -96,8 +96,6 @@ public:
        boost::shared_ptr<MIDI::Name::MasterDeviceNames> get_device_names();
        boost::shared_ptr<MIDI::Name::CustomDeviceMode> get_device_mode();
 
-       void update_range();
-
        Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
 
        StepEditor* step_editor() { return _step_editor; }