patch-gtk2_ardour_automation_line_cc 689 B

12345678910111213141516
  1. $OpenBSD: patch-gtk2_ardour_automation_line_cc,v 1.1 2016/03/20 11:58:32 ajacoutot Exp $
  2. Fix build with libsigc++ >=2.8.0
  3. --- gtk2_ardour/automation_line.cc.orig Sun Mar 20 11:13:51 2016
  4. +++ gtk2_ardour/automation_line.cc Sun Mar 20 11:15:01 2016
  5. @@ -73,7 +73,7 @@ ControlPoint::ControlPoint (AutomationLine& al)
  6. item->property_outline_color_rgba() = ARDOUR_UI::config()->canvasvar_ControlPointOutline.get();
  7. item->property_outline_pixels() = 1;
  8. item->set_data ("control_point", this);
  9. - item->signal_event().connect (mem_fun (this, &ControlPoint::event_handler));
  10. + item->signal_event().connect (mem_fun (*this, &ControlPoint::event_handler));
  11. hide ();
  12. set_visible (false);