summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkDecls.h
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/ttkDecls.h
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/ttkDecls.h')
-rw-r--r--generic/ttk/ttkDecls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkDecls.h b/generic/ttk/ttkDecls.h
index a931c39..650fd86 100644
--- a/generic/ttk/ttkDecls.h
+++ b/generic/ttk/ttkDecls.h
@@ -1,5 +1,5 @@
/*
- * $Id: ttkDecls.h,v 1.10 2010/02/05 10:56:43 nijtmans Exp $
+ * $Id: ttkDecls.h,v 1.11 2010/02/05 17:42:21 nijtmans Exp $
*
* This file is (mostly) automatically generated from ttk.decls.
*/
@@ -139,7 +139,7 @@ typedef struct TtkStubs {
int magic;
int epoch;
int revision;
- struct TtkStubHooks *hooks;
+ const struct TtkStubHooks *hooks;
Ttk_Theme (*ttk_GetTheme) (Tcl_Interp *interp, const char *name); /* 0 */
Ttk_Theme (*ttk_GetDefaultTheme) (Tcl_Interp *interp); /* 1 */