summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-05 22:45:03 (GMT)
committernijtmans <nijtmans>2010-02-05 22:45:03 (GMT)
commit454e04bbf4e61fb4a363ffcfedb08e941a17952f (patch)
tree13a98d3f366ae4c7f4dac0f3935a609ea5797c2f /generic/tkWindow.c
parentcece90e032954ae35ffb33120b3a0a01cd226b25 (diff)
downloadtk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.zip
tk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.tar.gz
tk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.tar.bz2
Make more internal tables "const"
tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 6dd8165..9a26d69 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.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: tkWindow.c,v 1.108 2010/01/10 20:27:23 nijtmans Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.109 2010/02/05 22:45:03 nijtmans Exp $
*/
#include "tkInt.h"
@@ -2923,7 +2923,7 @@ Tk_SafeInit(
return Initialize(interp);
}
-MODULE_SCOPE const TkStubs * const tkConstStubsPtr;
+MODULE_SCOPE const TkStubs tkConstStubs;
/*
*----------------------------------------------------------------------
@@ -3200,7 +3200,7 @@ Initialize(
*/
code = Tcl_PkgProvideEx(interp, "Tk", TK_PATCH_LEVEL,
- (ClientData) tkConstStubsPtr);
+ (ClientData) &tkConstStubs);
if (code != TCL_OK) {
goto done;
}