summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-11-16 03:09:36 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-11-16 03:09:36 +0000
commit077b5779b9392ed8dae243700e03ac79c12a7180 (patch)
treee983ceecdb1f7eb8ccad0ffc3b34cce81d993bb5 /gtk2_ardour/editor_cursors.cc
parentf16caf535c3e7a697c7464ecc153bce1b341d0ef (diff)
more editor*.cc fixes
git-svn-id: svn://localhost/trunk/ardour2@100 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_cursors.cc')
-rw-r--r--gtk2_ardour/editor_cursors.cc4
1 files changed, 2 insertions, 2 deletions
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 */
}