diff options
author | hobbs <hobbs> | 2006-05-29 22:21:39 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2006-05-29 22:21:39 (GMT) |
commit | de94051cc9cefddb0cfae707598416939eabe5b8 (patch) | |
tree | ffc2567e249c5475bbb460da90068f7b83331815 /win | |
parent | a7c8588873469c05f9182cd88d68fce9eec6ebe5 (diff) | |
download | tk-de94051cc9cefddb0cfae707598416939eabe5b8.zip tk-de94051cc9cefddb0cfae707598416939eabe5b8.tar.gz tk-de94051cc9cefddb0cfae707598416939eabe5b8.tar.bz2 |
* win/tkWinEmbed.c (TkpGetOtherWindow): [Bug 1212056] do not panic
* unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found -
* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it
in the caller
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinEmbed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c index 71f8116..b8b0b1e 100644 --- a/win/tkWinEmbed.c +++ b/win/tkWinEmbed.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinEmbed.c,v 1.30 2005/12/02 13:42:29 dkf Exp $ + * RCS: @(#) $Id: tkWinEmbed.c,v 1.31 2006/05/29 22:21:40 hobbs Exp $ */ #include "tkWinInt.h" @@ -931,7 +931,6 @@ TkpGetOtherWindow( return containerPtr->embeddedPtr; } } - Tcl_Panic("TkpGetOtherWindow couldn't find window"); return NULL; } |