diff options
author | jenglish <jenglish@flightlab.com> | 2010-02-05 21:33:13 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2010-02-05 21:33:13 (GMT) |
commit | cece90e032954ae35ffb33120b3a0a01cd226b25 (patch) | |
tree | e1ddd82f0d6248b9f354176183943cbe3e82acb5 /generic/ttk/ttkLayout.c | |
parent | f21f6c00e18c6a1acd5c854f3bb6dd3430740af5 (diff) | |
download | tk-cece90e032954ae35ffb33120b3a0a01cd226b25.zip tk-cece90e032954ae35ffb33120b3a0a01cd226b25.tar.gz tk-cece90e032954ae35ffb33120b3a0a01cd226b25.tar.bz2 |
Laxative patch: Revert contravariant const qualifiers added by the
previous commit to keep codebase in sync with the Tile extension,
which must remain 8.4 compatible.
Diffstat (limited to 'generic/ttk/ttkLayout.c')
-rw-r--r-- | generic/ttk/ttkLayout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/ttk/ttkLayout.c b/generic/ttk/ttkLayout.c index 4085614..e3f6a02 100644 --- a/generic/ttk/ttkLayout.c +++ b/generic/ttk/ttkLayout.c @@ -5,7 +5,7 @@ * * Copyright (c) 2003 Joe English. Freely redistributable. * - * $Id: ttkLayout.c,v 1.17 2010/02/05 17:42:21 nijtmans Exp $ + * $Id: ttkLayout.c,v 1.18 2010/02/05 21:33:14 jenglish Exp $ */ #include <string.h> @@ -605,14 +605,14 @@ Ttk_InstantiateLayout(Ttk_Theme theme, Ttk_TemplateNode *op) */ /* NB: This must match bit definitions TTK_PACK_LEFT etc. */ -static const char *const packSideStrings[] = +static const char *packSideStrings[] = { "left", "right", "top", "bottom", NULL }; Ttk_LayoutTemplate Ttk_ParseLayoutTemplate(Tcl_Interp *interp, Tcl_Obj *objPtr) { enum { OP_SIDE, OP_STICKY, OP_EXPAND, OP_BORDER, OP_UNIT, OP_CHILDREN }; - static const char *const optStrings[] = { - "-side", "-sticky", "-expand", "-border", "-unit", "-children", 0 }; + static const char *optStrings[] = { + "-side", "-sticky", "-expand", "-border", "-unit", "-children", 0 }; int i = 0, objc; Tcl_Obj **objv; |