diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
commit | e18b826ed756e177fc0e6f96fed210bf26bcb8b7 (patch) | |
tree | a64645a35b960e288a19b038e87f81a9248f5709 /generic/tkCanvas.c | |
parent | e2d6df79c697064b173e14f29a157733ad3a9a6f (diff) | |
download | tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.zip tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.gz tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.bz2 |
* Updates to handle change in type of tablePtr
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r-- | generic/tkCanvas.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c index 48cd329..e77c0f9 100644 --- a/generic/tkCanvas.c +++ b/generic/tkCanvas.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvas.c,v 1.16 2001/04/03 04:40:31 hobbs Exp $ + * RCS: @(#) $Id: tkCanvas.c,v 1.17 2002/01/17 05:13:11 dgp Exp $ */ /* #define USE_OLD_TAG_SEARCH 1 */ @@ -527,7 +527,7 @@ CanvasWidgetCmd(clientData, interp, argc, argv) #endif /* USE_OLD_TAG_SEARCH */ int index; - static char *optionStrings[] = { + static CONST char *optionStrings[] = { "addtag", "bbox", "bind", "canvasx", "canvasy", "cget", "configure", "coords", "create", "dchars", "delete", "dtag", @@ -1620,7 +1620,7 @@ CanvasWidgetCmd(clientData, interp, argc, argv) } case CANV_SCAN: { int x, y, gain=10; - static char *optionStrings[] = { + static CONST char *optionStrings[] = { "mark", "dragto", NULL }; @@ -1668,7 +1668,7 @@ CanvasWidgetCmd(clientData, interp, argc, argv) } case CANV_SELECT: { int index, optionindex; - static char *optionStrings[] = { + static CONST char *optionStrings[] = { "adjust", "clear", "from", "item", "to", NULL }; enum options { @@ -3972,7 +3972,7 @@ FindItems(interp, canvasPtr, argc, argv, newTag, first, searchPtrPtr) Tk_Item *itemPtr; Tk_Uid uid; int index; - static char *optionStrings[] = { + static CONST char *optionStrings[] = { "above", "all", "below", "closest", "enclosed", "overlapping", "withtag", NULL }; |