diff options
author | nijtmans <nijtmans> | 2010-02-05 17:42:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-05 17:42:21 (GMT) |
commit | f21f6c00e18c6a1acd5c854f3bb6dd3430740af5 (patch) | |
tree | ac9510cf19a9fe9e587d86587a1377661a8507a9 /generic/ttk/ttkImage.c | |
parent | e53aee245eff6859ad19a3960e62218ccb271d48 (diff) | |
download | tk-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/ttkImage.c')
-rw-r--r-- | generic/ttk/ttkImage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkImage.c b/generic/ttk/ttkImage.c index 8c50485..859c4a8 100644 --- a/generic/ttk/ttkImage.c +++ b/generic/ttk/ttkImage.c @@ -1,4 +1,4 @@ -/* $Id: ttkImage.c,v 1.8 2008/04/27 22:41:12 dkf Exp $ +/* $Id: ttkImage.c,v 1.9 2010/02/05 17:42:21 nijtmans Exp $ * Image specifications and image element factory. * * Copyright (C) 2004 Pat Thoyts <patthoyts@users.sf.net> @@ -314,7 +314,7 @@ Ttk_CreateImageElement( const char *elementName, int objc, Tcl_Obj *const objv[]) { - const char *optionStrings[] = + const char *const optionStrings[] = { "-border","-height","-padding","-sticky","-width",NULL }; enum { O_BORDER, O_HEIGHT, O_PADDING, O_STICKY, O_WIDTH }; |