summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-17 19:21:15 (GMT)
committernijtmans <nijtmans>2010-02-17 19:21:15 (GMT)
commit08118cf0531836d38a11540a687c8a92842014d5 (patch)
tree7e6bc8a3999b8bdb70d646dd25854cf5e389ba36 /generic/tkImgPhoto.c
parent98ad94bf967f4567ae47c4b74ffe11cc12f7d22f (diff)
downloadtk-08118cf0531836d38a11540a687c8a92842014d5.zip
tk-08118cf0531836d38a11540a687c8a92842014d5.tar.gz
tk-08118cf0531836d38a11540a687c8a92842014d5.tar.bz2
CONSTify everything related to Tk_ConfigSpec
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 8e0f6e3..9066456 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -17,7 +17,7 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPhoto.c,v 1.95 2010/02/13 13:47:49 nijtmans Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.96 2010/02/17 19:21:16 nijtmans Exp $
*/
#include "tkImgPhoto.h"
@@ -152,7 +152,7 @@ static Tcl_ThreadDataKey dataKey;
* Information used for parsing configuration specifications:
*/
-static Tk_ConfigSpec configSpecs[] = {
+static const Tk_ConfigSpec configSpecs[] = {
{TK_CONFIG_STRING, "-file", NULL, NULL,
NULL, Tk_Offset(PhotoMaster, fileString), TK_CONFIG_NULL_OK, NULL},
{TK_CONFIG_DOUBLE, "-gamma", NULL, NULL,