aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-13 00:24:26 (GMT)
committerfluxgen <fluxgen>2003-05-13 00:24:26 (GMT)
commite460cf2dc0d41722c14249c75b440aae82c34ed9 (patch)
tree78e6e4e8ad742265ee6f837becc21a2b145df8a2 /src/FbTk
parent4e5ea3a83b8fda375159218d8ab947647aea7c81 (diff)
downloadfluxbox-e460cf2dc0d41722c14249c75b440aae82c34ed9.zip
fluxbox-e460cf2dc0d41722c14249c75b440aae82c34ed9.tar.bz2
minor const fix
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 199a3eb..302e552 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.20 2003/05/04 10:34:09 fluxgen Exp $ 25// $Id: Menu.cc,v 1.21 2003/05/13 00:24:26 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -920,7 +920,7 @@ void Menu::setItemEnabled(unsigned int index, bool enable) {
920bool Menu::isItemEnabled(unsigned int index) const { 920bool Menu::isItemEnabled(unsigned int index) const {
921 if (index >= menuitems.size()) return false; 921 if (index >= menuitems.size()) return false;
922 922
923 MenuItem *item = find(index); 923 const MenuItem *item = find(index);
924 if (!item) 924 if (!item)
925 return false; 925 return false;
926 926