no need for an noop method
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 14 Mar 2016 21:42:44 +0000 (17:42 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 Mar 2016 16:41:21 +0000 (12:41 -0400)
libs/gtkmm2ext/cairo_widget.cc

index a4e6ffa1cf7d15374a28aba3511e2c84ef5abead..78fb042f594d352bcfdf4643b60dcea9925080b9 100644 (file)
@@ -30,8 +30,7 @@ static const char* has_cairo_widget_background_info = "has_cairo_widget_backgrou
 bool CairoWidget::_flat_buttons = false;
 bool CairoWidget::_widget_prelight = true;
 
-static void noop() { }
-sigc::slot<void> CairoWidget::focus_handler (sigc::ptr_fun (noop));
+sigc::slot<void> CairoWidget::focus_handler;
 
 void CairoWidget::set_source_rgb_a( cairo_t* cr, Gdk::Color col, float a)  //ToDo:  this one and the Canvas version should be in a shared file (?)
 {