diff --git a/gtk2_ardour/waves_button.cc b/gtk2_ardour/waves_button.cc index 81b56bdc79..db072a1c1d 100644 --- a/gtk2_ardour/waves_button.cc +++ b/gtk2_ardour/waves_button.cc @@ -329,12 +329,6 @@ WavesButton::color_handler () set_dirty (); } -void -WavesButton::on_size_allocate (Allocation& alloc) -{ - CairoWidget::on_size_allocate (alloc); -} - void WavesButton::set_controllable (boost::shared_ptr c) { diff --git a/gtk2_ardour/waves_button.h b/gtk2_ardour/waves_button.h index b202714e5a..7def2dbd71 100644 --- a/gtk2_ardour/waves_button.h +++ b/gtk2_ardour/waves_button.h @@ -65,7 +65,6 @@ class WavesButton : public CairoWidget , public Gtkmm2ext::Activatable protected: void render (cairo_t *, cairo_rectangle_t*); void on_size_request (Gtk::Requisition* req); - void on_size_allocate (Gtk::Allocation&); void on_style_changed (const Glib::RefPtr&); void on_name_changed (); bool on_enter_notify_event (GdkEventCrossing*);