diff options
author | nijtmans <nijtmans> | 2008-10-28 22:33:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-28 22:33:06 (GMT) |
commit | cfe62cbebc1beaa8564e7f7e4075c7b99763ac10 (patch) | |
tree | cf99f99a21277e0bc21da965946d8e129c1a5814 /generic/tkSelect.c | |
parent | 66cc8f9b15845d8a5470409603feec48ee347d5f (diff) | |
download | tk-cfe62cbebc1beaa8564e7f7e4075c7b99763ac10.zip tk-cfe62cbebc1beaa8564e7f7e4075c7b99763ac10.tar.gz tk-cfe62cbebc1beaa8564e7f7e4075c7b99763ac10.tar.bz2 |
CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindow
and Tk_ParseArgv. move TkSelGetSelection to internal stub table
(needed in tkWinTest.c)
Diffstat (limited to 'generic/tkSelect.c')
-rw-r--r-- | generic/tkSelect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkSelect.c b/generic/tkSelect.c index c2a78ca..f510478 100644 --- a/generic/tkSelect.c +++ b/generic/tkSelect.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkSelect.c,v 1.24 2008/10/17 23:18:37 nijtmans Exp $ + * RCS: @(#) $Id: tkSelect.c,v 1.25 2008/10/28 22:33:06 nijtmans Exp $ */ #include "tkInt.h" @@ -67,7 +67,7 @@ static int HandleTclCommand(ClientData clientData, int offset, char *buffer, int maxBytes); static void LostSelection(ClientData clientData); static int SelGetProc(ClientData clientData, - Tcl_Interp *interp, char *portion); + Tcl_Interp *interp, const char *portion); /* *-------------------------------------------------------------- @@ -1290,7 +1290,7 @@ SelGetProc( * selection. */ Tcl_Interp *interp, /* Interpreter used for error reporting (not * used). */ - char *portion) /* New information to be appended. */ + const char *portion) /* New information to be appended. */ { Tcl_DStringAppend(clientData, portion, -1); return TCL_OK; |