diff options
author | nijtmans <nijtmans@noemail.net> | 2010-01-10 20:27:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-01-10 20:27:21 (GMT) |
commit | 2c4dfa68ca36be58368be84af34125fa4fa24c23 (patch) | |
tree | 24942977fa3ae398e93cc98f127ba6bd8b9d46d2 /generic/tkDecls.h | |
parent | b9a8f42d822bb724c21ddf6db4bd56eb3cec1532 (diff) | |
download | tk-2c4dfa68ca36be58368be84af34125fa4fa24c23.zip tk-2c4dfa68ca36be58368be84af34125fa4fa24c23.tar.gz tk-2c4dfa68ca36be58368be84af34125fa4fa24c23.tar.bz2 |
CONSTify Tk_SetClassProcs
FossilOrigin-Name: c7ac45a0c15e986a9e884ebe01f17133013591ea
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r-- | generic/tkDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h index c915db0..a44ca55 100644 --- a/generic/tkDecls.h +++ b/generic/tkDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkDecls.h,v 1.42 2009/02/27 23:23:36 nijtmans Exp $ + * RCS: @(#) $Id: tkDecls.h,v 1.43 2010/01/10 20:27:23 nijtmans Exp $ */ #ifndef _TKDECLS @@ -1500,7 +1500,7 @@ EXTERN Tk_Window Tk_CreateAnonymousWindow (Tcl_Interp * interp, #define Tk_SetClassProcs_TCL_DECLARED /* 242 */ EXTERN void Tk_SetClassProcs (Tk_Window tkwin, - Tk_ClassProcs * procs, + const Tk_ClassProcs * procs, ClientData instanceData); #endif #ifndef Tk_SetInternalBorderEx_TCL_DECLARED @@ -1962,7 +1962,7 @@ typedef struct TkStubs { void (*tk_CreateClientMessageHandler) (Tk_ClientMessageProc * proc); /* 239 */ void (*tk_DeleteClientMessageHandler) (Tk_ClientMessageProc * proc); /* 240 */ Tk_Window (*tk_CreateAnonymousWindow) (Tcl_Interp * interp, Tk_Window parent, const char * screenName); /* 241 */ - void (*tk_SetClassProcs) (Tk_Window tkwin, Tk_ClassProcs * procs, ClientData instanceData); /* 242 */ + void (*tk_SetClassProcs) (Tk_Window tkwin, const Tk_ClassProcs * procs, ClientData instanceData); /* 242 */ void (*tk_SetInternalBorderEx) (Tk_Window tkwin, int left, int right, int top, int bottom); /* 243 */ void (*tk_SetMinimumRequestSize) (Tk_Window tkwin, int minWidth, int minHeight); /* 244 */ void (*tk_SetCaretPos) (Tk_Window tkwin, int x, int y, int height); /* 245 */ |