summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTheme.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/ttkTheme.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/ttkTheme.c')
-rw-r--r--generic/ttk/ttkTheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c
index 6bc3e42..d0c9174 100644
--- a/generic/ttk/ttkTheme.c
+++ b/generic/ttk/ttkTheme.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.
*
- * $Id: ttkTheme.c,v 1.20 2010/01/31 22:50:56 jenglish Exp $
+ * $Id: ttkTheme.c,v 1.21 2010/02/05 17:42:21 nijtmans Exp $
*/
#include <stdlib.h>
@@ -1372,7 +1372,7 @@ static int StyleThemeCreateCmd(
ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
{
StylePackageData *pkgPtr = clientData;
- static const char *optStrings[] =
+ static const char *const optStrings[] =
{ "-parent", "-settings", NULL };
enum { OP_PARENT, OP_SETTINGS };
Ttk_Theme parentTheme = pkgPtr->defaultTheme, newTheme;