diff options
author | nijtmans <nijtmans> | 2009-01-09 07:03:30 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-01-09 07:03:30 (GMT) |
commit | 00947f1c23c6a123731cb947d6fd377aa168ce37 (patch) | |
tree | 114952748e04d5313399716b2823ceed5fa01c9c /generic/tkColor.c | |
parent | f18e435c512e2c70f86f248974f6c974a978d2c0 (diff) | |
download | tk-00947f1c23c6a123731cb947d6fd377aa168ce37.zip tk-00947f1c23c6a123731cb947d6fd377aa168ce37.tar.gz tk-00947f1c23c6a123731cb947d6fd377aa168ce37.tar.bz2 |
CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmap
TkDebugColor, TkDebugCursor, TkDebugFont
All those mods TIP #27 complient, no incompatibility risks.
Diffstat (limited to 'generic/tkColor.c')
-rw-r--r-- | generic/tkColor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c index 1c9c792..627799e 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkColor.c,v 1.19 2008/11/08 18:44:39 dkf Exp $ + * RCS: @(#) $Id: tkColor.c,v 1.20 2009/01/09 07:03:31 nijtmans Exp $ */ #include "tkInt.h" @@ -771,7 +771,7 @@ Tcl_Obj * TkDebugColor( Tk_Window tkwin, /* The window in which the color will be used * (not currently used). */ - char *name) /* Name of the desired color. */ + const char *name) /* Name of the desired color. */ { Tcl_HashEntry *hashPtr; Tcl_Obj *resultPtr; |