From 8a5ed9c763eb4e008deb09b3a858151380cccecb Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 14 Jan 2000 19:35:12 +0000 Subject: fixed masterPtr reference problem FossilOrigin-Name: 295b02e79f3fd8c972c54e08f2adc262dbcea691 --- win/tkWinWm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 2678d3a..ac023f3 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinWm.c,v 1.14 2000/01/14 03:25:59 hobbs Exp $ + * RCS: @(#) $Id: tkWinWm.c,v 1.15 2000/01/14 19:35:13 hobbs Exp $ */ #include "tkWinInt.h" @@ -2213,7 +2213,7 @@ Tk_WmCmd(clientData, interp, argc, argv) * to them anymore */ wmPtr->masterPtr->wmInfoPtr->numTransients--; - Tk_DeleteEventHandler((Tk_Window) masterPtr, + Tk_DeleteEventHandler((Tk_Window) wmPtr->masterPtr, VisibilityChangeMask, WmWaitVisibilityProc, (ClientData) winPtr); } -- cgit v0.12