summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEmbed.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-05-29 22:21:39 (GMT)
committerhobbs <hobbs>2006-05-29 22:21:39 (GMT)
commitde94051cc9cefddb0cfae707598416939eabe5b8 (patch)
treeffc2567e249c5475bbb460da90068f7b83331815 /unix/tkUnixEmbed.c
parenta7c8588873469c05f9182cd88d68fce9eec6ebe5 (diff)
downloadtk-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 'unix/tkUnixEmbed.c')
-rw-r--r--unix/tkUnixEmbed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/unix/tkUnixEmbed.c b/unix/tkUnixEmbed.c
index a74ed83..c06cbdc 100644
--- a/unix/tkUnixEmbed.c
+++ b/unix/tkUnixEmbed.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: tkUnixEmbed.c,v 1.9 2005/11/14 11:54:21 dkf Exp $
+ * RCS: @(#) $Id: tkUnixEmbed.c,v 1.10 2006/05/29 22:21:40 hobbs Exp $
*/
#include "tkInt.h"
@@ -717,7 +717,6 @@ TkpGetOtherWindow(
return containerPtr->embeddedPtr;
}
}
- Tcl_Panic("TkpGetOtherWindow couldn't find window");
return NULL;
}