diff options
author | davygrvy <davygrvy> | 2004-10-27 00:37:37 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2004-10-27 00:37:37 (GMT) |
commit | 5ece364aabaeff75bc0f6ca57e57839fc4b7d9b3 (patch) | |
tree | b983c1273c1a6326de84746006f8e4f502466cdb /win/tkWinX.c | |
parent | b3e5aa6f60214f0b4a7e688f6b373b9da753c947 (diff) | |
download | tk-5ece364aabaeff75bc0f6ca57e57839fc4b7d9b3.zip tk-5ece364aabaeff75bc0f6ca57e57839fc4b7d9b3.tar.gz tk-5ece364aabaeff75bc0f6ca57e57839fc4b7d9b3.tar.bz2 |
* generic/tkInt.h: Backport of shutdown safety mods from the HEAD
* generic/tkMenu.c: dating from 2003-12-21
* generic/tkUtil.c:
* generic/tkWindow.c:
* mac/tkMacButton.c:
* unix/tkUnixEvent.c:
* win/tkWin32Dll.c:
* win/tkWinEmbed.c:
* win/tkWinMenu.c:
* win/tkWinX.c:
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index da65e26..7ca4ad5 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.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: tkWinX.c,v 1.25.2.4 2004/09/23 01:49:08 hobbs Exp $ + * RCS: @(#) $Id: tkWinX.c,v 1.25.2.5 2004/10/27 00:37:38 davygrvy Exp $ */ #include "tkWinInt.h" @@ -283,8 +283,7 @@ TkWinXInit(hInstance) /* * Make sure we cleanup on finalize. */ - Tcl_CreateExitHandler((Tcl_ExitProc *) TkWinXCleanup, - (ClientData) hInstance); + TkCreateExitHandler(TkWinXCleanup, (ClientData) hInstance); } /* @@ -304,9 +303,10 @@ TkWinXInit(hInstance) */ void -TkWinXCleanup(hInstance) - HINSTANCE hInstance; +TkWinXCleanup(clientData) + ClientData clientData; { + HINSTANCE hInstance = (HINSTANCE) clientData; /* * Clean up our own class. */ |