$OpenBSD: patch-gtk2_ardour_marker_time_axis_cc,v 1.1 2016/03/20 11:58:32 ajacoutot Exp $

Fix build with libsigc++ >=2.8.0

--- gtk2_ardour/marker_time_axis.cc.orig	Sun Mar 20 12:27:25 2016
+++ gtk2_ardour/marker_time_axis.cc	Sun Mar 20 12:27:54 2016
@@ -236,11 +236,11 @@ MarkerTimeAxis::build_marker_menu()
 	
 	if(view)
 	{
-		duration_items.push_back(MenuElem (_("1 seconds"), bind (mem_fun (view, &MarkerTimeAxisView::set_marker_duration_sec), 1.0))) ;
-		duration_items.push_back(MenuElem (_("1.5 seconds"), bind (mem_fun (view, &MarkerTimeAxisView::set_marker_duration_sec), 1.5))) ;
-		duration_items.push_back(MenuElem (_("2 seconds"), bind (mem_fun (view, &MarkerTimeAxisView::set_marker_duration_sec), 2.0))) ;
-		duration_items.push_back(MenuElem (_("2.5 seconds"), bind (mem_fun (view, &MarkerTimeAxisView::set_marker_duration_sec), 2.5))) ;
-		duration_items.push_back(MenuElem (_("3 seconds"), bind (mem_fun (view, &MarkerTimeAxisView::set_marker_duration_sec), 3.0))) ;
+		duration_items.push_back(MenuElem (_("1 seconds"), bind (mem_fun (*view, &MarkerTimeAxisView::set_marker_duration_sec), 1.0))) ;
+		duration_items.push_back(MenuElem (_("1.5 seconds"), bind (mem_fun (*view, &MarkerTimeAxisView::set_marker_duration_sec), 1.5))) ;
+		duration_items.push_back(MenuElem (_("2 seconds"), bind (mem_fun (*view, &MarkerTimeAxisView::set_marker_duration_sec), 2.0))) ;
+		duration_items.push_back(MenuElem (_("2.5 seconds"), bind (mem_fun (*view, &MarkerTimeAxisView::set_marker_duration_sec), 2.5))) ;
+		duration_items.push_back(MenuElem (_("3 seconds"), bind (mem_fun (*view, &MarkerTimeAxisView::set_marker_duration_sec), 3.0))) ;
 	}
 	//duration_items.push_back(SeparatorElem()) ;
 	//duration_items.push_back(MenuElem (_("custom"), mem_fun(*this, &ImageFrameTimeAxis::set_marker_duration_custom))) ;
@@ -248,7 +248,7 @@ MarkerTimeAxis::build_marker_menu()
 	marker_sub_items.push_back(MenuElem(_("Duration (sec)"), *duration_menu)) ;
 
 	marker_sub_items.push_back(SeparatorElem()) ;
-	marker_sub_items.push_back(MenuElem (_("Remove Marker"), bind(mem_fun(view, &MarkerTimeAxisView::remove_selected_marker_view),(void*)this))) ;
+	marker_sub_items.push_back(MenuElem (_("Remove Marker"), bind(mem_fun(*view, &MarkerTimeAxisView::remove_selected_marker_view),(void*)this))) ;
 	
 	items.push_back(MenuElem(_("Marker"), *marker_item_menu)) ;
 	items.push_back(MenuElem (_("Rename Track"), mem_fun(*this,&MarkerTimeAxis::start_time_axis_rename))) ;
