summaryrefslogtreecommitdiffstats
path: root/doc/CanvTkwin.3
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-02-17 19:21:14 (GMT)
committernijtmans <nijtmans@noemail.net>2010-02-17 19:21:14 (GMT)
commit1c2a232bf92247dc78b0592f213bde81a2decdd9 (patch)
tree7e6bc8a3999b8bdb70d646dd25854cf5e389ba36 /doc/CanvTkwin.3
parent7f462491c2d731d7849663f97b2153c6f1924d35 (diff)
downloadtk-1c2a232bf92247dc78b0592f213bde81a2decdd9.zip
tk-1c2a232bf92247dc78b0592f213bde81a2decdd9.tar.gz
tk-1c2a232bf92247dc78b0592f213bde81a2decdd9.tar.bz2
CONSTify everything related to Tk_ConfigSpec
FossilOrigin-Name: f559fc100fb895481dfd6f973168d2ab38774cf2
Diffstat (limited to 'doc/CanvTkwin.3')
-rw-r--r--doc/CanvTkwin.310
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/CanvTkwin.3 b/doc/CanvTkwin.3
index dbbc3df..4ea6620 100644
--- a/doc/CanvTkwin.3
+++ b/doc/CanvTkwin.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: CanvTkwin.3,v 1.9 2008/11/01 12:25:14 dkf Exp $
+'\" RCS: @(#) $Id: CanvTkwin.3,v 1.10 2010/02/17 19:21:17 nijtmans Exp $
'\"
.so man.macros
.TH Tk_CanvasTkwin 3 4.1 Tk "Tk Library Procedures"
@@ -145,14 +145,14 @@ structure for the \fB\-tags\fR option. The code typically looks
like this:
.PP
.CS
-static Tk_CustomOption tagsOption = {Tk_CanvasTagsParseProc,
+static const Tk_CustomOption tagsOption = {Tk_CanvasTagsParseProc,
Tk_CanvasTagsPrintProc, (ClientData) NULL
};
-static Tk_ConfigSpec configSpecs[] = {
+static const Tk_ConfigSpec configSpecs[] = {
...
- {TK_CONFIG_CUSTOM, "\-tags", (char *) NULL, (char *) NULL,
- (char *) NULL, 0, TK_CONFIG_NULL_OK, &tagsOption},
+ {TK_CONFIG_CUSTOM, "\-tags", NULL, NULL,
+ NULL, 0, TK_CONFIG_NULL_OK, &tagsOption},
...
};
.CE