summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkStubInit.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-05 17:42:21 (GMT)
committernijtmans <nijtmans>2010-02-05 17:42:21 (GMT)
commitf21f6c00e18c6a1acd5c854f3bb6dd3430740af5 (patch)
treeac9510cf19a9fe9e587d86587a1377661a8507a9 /generic/ttk/ttkStubInit.c
parente53aee245eff6859ad19a3960e62218ccb271d48 (diff)
downloadtk-f21f6c00e18c6a1acd5c854f3bb6dd3430740af5.zip
tk-f21f6c00e18c6a1acd5c854f3bb6dd3430740af5.tar.gz
tk-f21f6c00e18c6a1acd5c854f3bb6dd3430740af5.tar.bz2
Make the various stub tables and hook pointers const,
just as Tcl and Tk. Make more internal tables "const"
Diffstat (limited to 'generic/ttk/ttkStubInit.c')
-rw-r--r--generic/ttk/ttkStubInit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkStubInit.c b/generic/ttk/ttkStubInit.c
index 11b60f9..56c7696 100644
--- a/generic/ttk/ttkStubInit.c
+++ b/generic/ttk/ttkStubInit.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkStubInit.c,v 1.2 2006/11/03 03:06:22 das Exp $
+ * $Id: ttkStubInit.c,v 1.3 2010/02/05 17:42:21 nijtmans Exp $
*
* This file is (mostly) automatically generated from ttk.decls.
* It is compiled and linked in with the ttk package proper.
@@ -8,11 +8,11 @@
#include "tk.h"
#include "ttkTheme.h"
-MODULE_SCOPE TtkStubs ttkStubs;
+MODULE_SCOPE const TtkStubs ttkConstStubs;
/* !BEGIN!: Do not edit below this line. */
-TtkStubs ttkStubs = {
+const TtkStubs ttkConstStubs = {
TCL_STUB_MAGIC,
TTK_STUBS_EPOCH,
TTK_STUBS_REVISION,