diff options
author | dgp <dgp@users.sourceforge.net> | 2002-03-20 22:55:16 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-03-20 22:55:16 (GMT) |
commit | 8ec927ee5453686c58261fb86a1789a031b0cf98 (patch) | |
tree | bb2cc30a000130e42e9c7b1dddb4a77ffa3bd1e6 /generic/tkMessage.c | |
parent | ccbffd0e25dc9ee8600eee53815af75be7268a05 (diff) | |
download | tk-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/tkMessage.c')
-rw-r--r-- | generic/tkMessage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMessage.c b/generic/tkMessage.c index 648f939..7e7a00e 100644 --- a/generic/tkMessage.c +++ b/generic/tkMessage.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: tkMessage.c,v 1.12 2002/01/25 21:09:37 dgp Exp $ + * RCS: @(#) $Id: tkMessage.c,v 1.13 2002/03/20 22:55:16 dgp Exp $ */ #include "tkPort.h" @@ -176,7 +176,7 @@ static void MessageCmdDeletedProc _ANSI_ARGS_(( static void MessageEventProc _ANSI_ARGS_((ClientData clientData, XEvent *eventPtr)); static char * MessageTextVarProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, + Tcl_Interp *interp, char *name1, CONST char *name2, int flags)); static int MessageWidgetObjCmd _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, int objc, @@ -848,7 +848,7 @@ MessageTextVarProc(clientData, interp, name1, name2, flags) ClientData clientData; /* Information about message. */ Tcl_Interp *interp; /* Interpreter containing variable. */ char *name1; /* Name of variable. */ - char *name2; /* Second part of variable name. */ + CONST char *name2; /* Second part of variable name. */ int flags; /* Information about what happened. */ { register Message *msgPtr = (Message *) clientData; |