From 077b5779b9392ed8dae243700e03ac79c12a7180 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 16 Nov 2005 03:09:36 +0000 Subject: more editor*.cc fixes git-svn-id: svn://localhost/trunk/ardour2@100 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_cursors.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/editor_cursors.cc') diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc index 7eae566f1c..78552d6451 100644 --- a/gtk2_ardour/editor_cursors.cc +++ b/gtk2_ardour/editor_cursors.cc @@ -30,7 +30,7 @@ using namespace sigc; using namespace ARDOUR; using namespace Gtk; -Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck)(GdkEvent*)) +Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck)(GdkEvent*,ArdourCanvas::Item*)) : editor (ed), length(1.0) { @@ -54,7 +54,7 @@ Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck) // cerr << "cursor line @ " << canvas_item << endl; canvas_item->set_data ("cursor", this); - canvas_item->signal_event().connect (mem_fun (ed, callbck)); + canvas_item->signal_event().connect (bind (mem_fun (ed, callbck), canvas_item)); current_frame = 1; /* force redraw at 0 */ } -- cgit v1.2.3