projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
son't try to select non-existent notes after editing (and thus crash).
[ardour.git]
/
gtk2_ardour
/
selectable.h
diff --git
a/gtk2_ardour/selectable.h
b/gtk2_ardour/selectable.h
index b52214c9c9610e14e5f4257f5ccd2bf2e09dc1db..2ffac879291d46ea4767a564e22cdf4dbf71a3c6 100644
(file)
--- a/
gtk2_ardour/selectable.h
+++ b/
gtk2_ardour/selectable.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2004 Paul Davis
+ Copyright (C) 2004 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-15,7
+15,6
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __ardour_gtk_selectable_h__
*/
#ifndef __ardour_gtk_selectable_h__
@@
-35,17
+34,13
@@
class Selectable : public virtual sigc::trackable
virtual void set_selected (bool yn) {
if (yn != _selected) {
_selected = yn;
virtual void set_selected (bool yn) {
if (yn != _selected) {
_selected = yn;
- Selected (_selected); /* EMIT_SIGNAL */
}
}
}
}
-
bool get_
selected() const {
+
virtual bool
selected() const {
return _selected;
}
return _selected;
}
- /** Emitted when the selected status of this Selectable changes */
- sigc::signal<void, bool> Selected ;
-
protected:
bool _selected;
};
protected:
bool _selected;
};