summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-03-20 22:55:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-03-20 22:55:16 (GMT)
commit8ec927ee5453686c58261fb86a1789a031b0cf98 (patch)
treebb2cc30a000130e42e9c7b1dddb4a77ffa3bd1e6 /generic/tkEntry.c
parentccbffd0e25dc9ee8600eee53815af75be7268a05 (diff)
downloadtk-8ec927ee5453686c58261fb86a1789a031b0cf98.zip
tk-8ec927ee5453686c58261fb86a1789a031b0cf98.tar.gz
tk-8ec927ee5453686c58261fb86a1789a031b0cf98.tar.bz2
* Updates to handle change in type of part2 argument of
Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index 9ccc16a..673817b 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.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: tkEntry.c,v 1.26 2002/01/25 21:09:37 dgp Exp $
+ * RCS: @(#) $Id: tkEntry.c,v 1.27 2002/03/20 22:55:16 dgp Exp $
*/
#include "tkInt.h"
@@ -694,7 +694,7 @@ static void EntrySetValue _ANSI_ARGS_((Entry *entryPtr,
static void EntrySelectTo _ANSI_ARGS_((
Entry *entryPtr, int index));
static char * EntryTextVarProc _ANSI_ARGS_((ClientData clientData,
- Tcl_Interp *interp, char *name1, char *name2,
+ Tcl_Interp *interp, char *name1, CONST char *name2,
int flags));
static void EntryUpdateScrollbar _ANSI_ARGS_((Entry *entryPtr));
static int EntryValidate _ANSI_ARGS_((Entry *entryPtr,
@@ -3277,7 +3277,7 @@ EntryTextVarProc(clientData, interp, name1, name2, flags)
ClientData clientData; /* Information about button. */
Tcl_Interp *interp; /* Interpreter containing variable. */
char *name1; /* Not used. */
- char *name2; /* Not used. */
+ CONST char *name2; /* Not used. */
int flags; /* Information about what happened. */
{
Entry *entryPtr = (Entry *) clientData;