summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvText.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-17 19:21:15 (GMT)
committernijtmans <nijtmans>2010-02-17 19:21:15 (GMT)
commit8f9bf32cb294a6d0516eded282e88dc7fad4584f (patch)
tree7e6bc8a3999b8bdb70d646dd25854cf5e389ba36 /generic/tkCanvText.c
parenta3807e1bc8ea5f4ef251ea0ee110f79e4b758ef7 (diff)
downloadtk-8f9bf32cb294a6d0516eded282e88dc7fad4584f.zip
tk-8f9bf32cb294a6d0516eded282e88dc7fad4584f.tar.gz
tk-8f9bf32cb294a6d0516eded282e88dc7fad4584f.tar.bz2
CONSTify everything related to Tk_ConfigSpec
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r--generic/tkCanvText.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c
index e05c905..d5f1ae2 100644
--- a/generic/tkCanvText.c
+++ b/generic/tkCanvText.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvText.c,v 1.37 2010/01/18 20:43:38 nijtmans Exp $
+ * RCS: @(#) $Id: tkCanvText.c,v 1.38 2010/02/17 19:21:16 nijtmans Exp $
*/
#include "tkInt.h"
@@ -95,7 +95,7 @@ static const Tk_CustomOption offsetOption = {
TkOffsetParseProc, TkOffsetPrintProc, (ClientData) (TK_OFFSET_RELATIVE)
};
-static Tk_ConfigSpec configSpecs[] = {
+static const Tk_ConfigSpec configSpecs[] = {
{TK_CONFIG_COLOR, "-activefill", NULL, NULL,
NULL, Tk_Offset(TextItem, activeColor), TK_CONFIG_NULL_OK, NULL},
{TK_CONFIG_BITMAP, "-activestipple", NULL, NULL,