diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-10-06 11:00:10 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-10-06 11:00:10 +0100 |
commit | df2b5c90e432bbee0ef3329d943ba08b64e75b85 (patch) | |
tree | 3467ff243f14f395caf7be5be7ef4507a5ad4523 /gtk2_ardour/note.cc | |
parent | e93c425d6f2d127b9132131e23fbb93ff16916bf (diff) |
'gtk2_ardour' - In 'Note' c'tor, don't try to set 'rectangle->name' unless 'CANVAS_DEBUG' is defined
Diffstat (limited to 'gtk2_ardour/note.cc')
-rw-r--r-- | gtk2_ardour/note.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc index b072a75ca6..c9a60a7de9 100644 --- a/gtk2_ardour/note.cc +++ b/gtk2_ardour/note.cc @@ -36,7 +36,9 @@ Note::Note ( : NoteBase (region, with_events, note) { _rectangle = new ArdourCanvas::Rectangle (group); +#ifdef CANVAS_DEBUG _rectangle->name = "note"; +#endif set_item (_rectangle); } |