From 8c429b07858e50b3ba830f0822c21104ebcf150e Mon Sep 17 00:00:00 2001 From: VKamyshniy Date: Sun, 17 Aug 2014 16:24:41 +0300 Subject: [PATCH] [Summary] Removing unnecessary method WavesButton::on_size_allocate (Allocation& alloc) --- gtk2_ardour/waves_button.cc | 6 ------ gtk2_ardour/waves_button.h | 1 - 2 files changed, 7 deletions(-) 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*);