Uploaded start of CoreAudioSource. More sfdb work.
[ardour.git] / gtk2_ardour / editor_hscroller.cc
index 7f6b9996a0991e3f3f75397b11ba7ec2b6881305..d918983f94c45c823c44813b1e92c84bf727246e 100644 (file)
@@ -26,7 +26,7 @@ using namespace std;
 using namespace ARDOUR;
 
 void
-Editor::hscroll_slider_allocate (GtkAllocation *alloc)
+Editor::hscroll_slider_allocate (Gtk::Allocation &alloc)
 {
        //edit_hscroll_slider_width = alloc->width;
        //edit_hscroll_slider_height = alloc->height ;
@@ -147,7 +147,6 @@ Editor::hscroll_slider_button_release (GdkEventButton *ev)
        
        return TRUE;
 
-       
        start = (gint) floor (bar_max * ((double) leftmost_frame / session->current_end_frame()));
        width = (gint) floor (bar_max * ((canvas_width * frames_per_unit) / session->current_end_frame()));