From e1e50f607150a190c54665b53441077389d9f31f Mon Sep 17 00:00:00 2001 From: davygrvy Date: Wed, 27 Oct 2004 00:35:53 +0000 Subject: * 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. --- generic/tkInt.decls | 4 ++-- 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 */ -- cgit v0.12