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/tkButton.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/tkButton.c')
-rw-r--r-- | generic/tkButton.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkButton.c b/generic/tkButton.c index 33a0f42..7cc4803 100644 --- a/generic/tkButton.c +++ b/generic/tkButton.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkButton.c,v 1.15 2002/01/17 05:13:11 dgp Exp $ + * RCS: @(#) $Id: tkButton.c,v 1.16 2002/03/20 22:55:16 dgp Exp $ */ #include "tkButton.h" @@ -520,10 +520,10 @@ static void ButtonSelectImageProc _ANSI_ARGS_(( ClientData clientData, int x, int y, int width, int height, int imgWidth, int imgHeight)); static char * ButtonTextVarProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, + Tcl_Interp *interp, char *name1, CONST char *name2, int flags)); static char * ButtonVarProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, + Tcl_Interp *interp, char *name1, CONST char *name2, int flags)); static int ButtonWidgetObjCmd _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, int objc, @@ -1539,7 +1539,7 @@ ButtonVarProc(clientData, interp, name1, name2, flags) ClientData clientData; /* Information about button. */ 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 TkButton *butPtr = (TkButton *) clientData; @@ -1618,7 +1618,7 @@ ButtonTextVarProc(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. */ { TkButton *butPtr = (TkButton *) clientData; |