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

Fix build with libsigc++ >=2.8.0

--- gtk2_ardour/imageframe_time_axis.cc.orig	Sun Mar 20 12:18:55 2016
+++ gtk2_ardour/imageframe_time_axis.cc	Sun Mar 20 12:19:21 2016
@@ -285,12 +285,12 @@ ImageFrameTimeAxis::create_imageframe_menu()
 
 	if(view)
 	{
-		duration_items.push_back(MenuElem (_("0.5 seconds"), bind (mem_fun (view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 0.5))) ;
-		duration_items.push_back(MenuElem (_("1 seconds"), bind (mem_fun (view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 1.0))) ;
-		duration_items.push_back(MenuElem (_("1.5 seconds"), bind (mem_fun (view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 1.5))) ;
-		duration_items.push_back(MenuElem (_("2 seconds"), bind (mem_fun (view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 2.0))) ;
-		duration_items.push_back(MenuElem (_("2.5 seconds"), bind (mem_fun (view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 2.5))) ;
-		duration_items.push_back(MenuElem (_("3 seconds"), bind (mem_fun (view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 3.0))) ;
+		duration_items.push_back(MenuElem (_("0.5 seconds"), bind (mem_fun (*view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 0.5))) ;
+		duration_items.push_back(MenuElem (_("1 seconds"), bind (mem_fun (*view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 1.0))) ;
+		duration_items.push_back(MenuElem (_("1.5 seconds"), bind (mem_fun (*view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 1.5))) ;
+		duration_items.push_back(MenuElem (_("2 seconds"), bind (mem_fun (*view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 2.0))) ;
+		duration_items.push_back(MenuElem (_("2.5 seconds"), bind (mem_fun (*view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 2.5))) ;
+		duration_items.push_back(MenuElem (_("3 seconds"), bind (mem_fun (*view, &ImageFrameTimeAxisView::set_imageframe_duration_sec), 3.0))) ;
 		//duration_items.push_back(SeparatorElem()) ;
 		//duration_items.push_back(MenuElem (_("custom"), mem_fun(*this, &ImageFrameTimeAxis::set_imageframe_duration_custom))) ;
 	}
@@ -300,7 +300,7 @@ ImageFrameTimeAxis::create_imageframe_menu()
 	imageframe_sub_items.push_back(SeparatorElem()) ;
 	if(view)
 	{
-		imageframe_sub_items.push_back(MenuElem (_("Remove Frame"), bind(mem_fun (view, &ImageFrameTimeAxisView::remove_selected_imageframe_item), (void*)this))) ;
+		imageframe_sub_items.push_back(MenuElem (_("Remove Frame"), bind(mem_fun (*view, &ImageFrameTimeAxisView::remove_selected_imageframe_item), (void*)this))) ;
 	}
 	
 	items.push_back(MenuElem(_("Image Frame"), *imageframe_item_menu)) ;
