summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-03 05:06:25 (GMT)
committernijtmans <nijtmans>2007-01-03 05:06:25 (GMT)
commit79954fb760d1f61cab0a9b4ce289c070819b89bc (patch)
treeee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkMenubutton.c
parentcac34c03ac4f3b143325331ab94c25319c77707b (diff)
downloadtk-79954fb760d1f61cab0a9b4ce289c070819b89bc.zip
tk-79954fb760d1f61cab0a9b4ce289c070819b89bc.tar.gz
tk-79954fb760d1f61cab0a9b4ce289c070819b89bc.tar.bz2
various "const" additions, in line with TIP #27
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r--generic/tkMenubutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c
index c720025..9fa7c4f 100644
--- a/generic/tkMenubutton.c
+++ b/generic/tkMenubutton.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenubutton.c,v 1.14 2005/11/15 15:18:22 dkf Exp $
+ * RCS: @(#) $Id: tkMenubutton.c,v 1.15 2007/01/03 05:06:26 nijtmans Exp $
*/
#include "tkMenubutton.h"
@@ -48,7 +48,7 @@ static char *compoundStrings[] = {
* Information used for parsing configuration specs:
*/
-static Tk_OptionSpec optionSpecs[] = {
+static const Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_BORDER, "-activebackground", "activeBackground", "Foreground",
DEF_MENUBUTTON_ACTIVE_BG_COLOR, -1,
Tk_Offset(TkMenuButton, activeBorder), 0,