diff options
author | David Robillard <d@drobilla.net> | 2006-06-21 18:14:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-21 18:14:45 +0000 |
commit | 13532c8500dce5f7a4525bcdfc3b44936fbaa5e6 (patch) | |
tree | 6877b3c3122968665454cd1a1cbb104151c5b788 /gtk2_ardour/time_axis_view_item.cc | |
parent | 6a1f2919f20286b7d51de8e9c02107ab42f8e763 (diff) |
Merged with trunk
git-svn-id: svn://localhost/ardour2/branches/midi@628 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index f54688ddfb..c333a8acb3 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -484,26 +484,14 @@ TimeAxisViewItem::get_item_name() const * @param src the identity of the object that initiated the change */ void -TimeAxisViewItem::set_selected(bool yn, void* src) +TimeAxisViewItem::set_selected(bool yn) { if (_selected != yn) { - _selected = yn ; + Selectable::set_selected (yn); set_frame_color (); - Selected (_selected) ; /* EMIT_SIGNAL */ } } -/** - * Returns whether this item is currently selected. - * - * @return true if this item is currently selected, false otherwise - */ -bool -TimeAxisViewItem::get_selected() const -{ - return (_selected) ; -} - void TimeAxisViewItem::set_should_show_selection (bool yn) { |