summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTreeview.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2010-02-05 21:33:13 (GMT)
committerjenglish <jenglish@flightlab.com>2010-02-05 21:33:13 (GMT)
commitcece90e032954ae35ffb33120b3a0a01cd226b25 (patch)
treee1ddd82f0d6248b9f354176183943cbe3e82acb5 /generic/ttk/ttkTreeview.c
parentf21f6c00e18c6a1acd5c854f3bb6dd3430740af5 (diff)
downloadtk-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/ttkTreeview.c')
-rw-r--r--generic/ttk/ttkTreeview.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c
index ece8e3a..7fbe6c8 100644
--- a/generic/ttk/ttkTreeview.c
+++ b/generic/ttk/ttkTreeview.c
@@ -1,4 +1,4 @@
-/* $Id: ttkTreeview.c,v 1.35 2010/02/05 17:42:21 nijtmans Exp $
+/* $Id: ttkTreeview.c,v 1.36 2010/02/05 21:33:14 jenglish Exp $
* Copyright (c) 2004, Joe English
*
* ttk::treeview widget implementation.
@@ -321,14 +321,14 @@ static Tk_OptionSpec HeadingOptionSpecs[] = {
#define DEFAULT_SHOW "tree headings"
-static const char *const showStrings[] = {
+static const char *showStrings[] = {
"tree", "headings", NULL
};
static int GetEnumSetFromObj(
Tcl_Interp *interp,
Tcl_Obj *objPtr,
- const char *const table[],
+ const char *table[],
unsigned *resultPtr)
{
unsigned result = 0;
@@ -434,7 +434,7 @@ typedef struct {
#define SCROLLCMD_CHANGED (USER_MASK<<2)
#define SHOW_CHANGED (USER_MASK<<3)
-static const char *const SelectModeStrings[] = { "none", "browse", "extended", NULL };
+static const char *SelectModeStrings[] = { "none", "browse", "extended", NULL };
static Tk_OptionSpec TreeviewOptionSpecs[] = {
WIDGET_TAKES_FOCUS,
@@ -1506,7 +1506,7 @@ typedef enum {
REGION_CELL
} TreeRegion;
-static const char *const regionStrings[] = {
+static const char *regionStrings[] = {
"nothing", "heading", "separator", "tree", "cell", 0
};
@@ -2253,7 +2253,7 @@ done:
static int TreeviewIdentifyCommand(
void *recordPtr, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
{
- static const char *const submethodStrings[] =
+ static const char *submethodStrings[] =
{ "region", "item", "column", "row", "element", NULL };
enum { I_REGION, I_ITEM, I_COLUMN, I_ROW, I_ELEMENT };
@@ -2910,7 +2910,7 @@ static int TreeviewSelectionCommand(
enum {
SELECTION_SET, SELECTION_ADD, SELECTION_REMOVE, SELECTION_TOGGLE
};
- static const char *const selopStrings[] = {
+ static const char *selopStrings[] = {
"set", "add", "remove", "toggle", NULL
};