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)
commit04839e2ede345ab7e9e61a07baefd1c91cca56bf (patch)
treeee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkMenubutton.c
parentdf1d5b0c6b3bdf308fd86c0101f8e9110b177a6d (diff)
downloadtk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.zip
tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.gz
tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.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,