diff options
author | davygrvy <davygrvy> | 2004-10-27 00:35:53 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2004-10-27 00:35:53 (GMT) |
commit | 482a137c9cfc5206020b48b9ab3a97b0ef5e45bc (patch) | |
tree | 0931338a08d4d63e64e8625cb803538ea28eee04 | |
parent | 4a5871d48715a93e545f3706c58ee13570749658 (diff) | |
download | tk-482a137c9cfc5206020b48b9ab3a97b0ef5e45bc.zip tk-482a137c9cfc5206020b48b9ab3a97b0ef5e45bc.tar.gz tk-482a137c9cfc5206020b48b9ab3a97b0ef5e45bc.tar.bz2 |
* generic/tkInt.decls: Signature for tkWinXCleanup needed to be
* generic/tkIntPlatDecls.h: changed so it matches the Tcl_ExitProc
typedef to avoid a bad-style cast.
-rw-r--r-- | generic/tkInt.decls | 4 | ||||
-rw-r--r-- | generic/tkIntPlatDecls.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index e7fe2c7..08d0919 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tkInt.decls,v 1.33.2.2 2004/09/23 00:56:14 mdejong Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.33.2.3 2004/10/27 00:35:53 davygrvy Exp $ library tk @@ -857,7 +857,7 @@ declare 27 win { } declare 28 win { - void TkWinXCleanup (HINSTANCE hInstance) + void TkWinXCleanup (ClientData clientData) } declare 29 win { diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index f8633a9..d31fb74 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.15.2.1 2004/09/23 00:56:14 mdejong Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.15.2.2 2004/10/27 00:35:53 davygrvy Exp $ */ #ifndef _TKINTPLATDECLS @@ -107,7 +107,7 @@ EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd, /* 27 */ EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */ -EXTERN void TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance)); +EXTERN void TkWinXCleanup _ANSI_ARGS_((ClientData clientData)); /* 29 */ EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance)); /* 30 */ @@ -457,7 +457,7 @@ typedef struct TkIntPlatStubs { void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */ void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */ void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */ - void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */ + void (*tkWinXCleanup) _ANSI_ARGS_((ClientData clientData)); /* 28 */ void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */ void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */ void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */ |