diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-28 07:25:21 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-28 07:25:21 (GMT) |
commit | 77acd42d86b6416b8ee9420f6e9ff759f06c28ab (patch) | |
tree | 9c609205cad73e977905800d4634bf3538071438 /unix/tkUnixSend.c | |
parent | 42f0b713dd28f3d56226621b9016969cd5804a57 (diff) | |
parent | cb9575f44e80a63234981233f4288fd29be862f8 (diff) | |
download | tk-77acd42d86b6416b8ee9420f6e9ff759f06c28ab.zip tk-77acd42d86b6416b8ee9420f6e9ff759f06c28ab.tar.gz tk-77acd42d86b6416b8ee9420f6e9ff759f06c28ab.tar.bz2 |
merge trunk
Diffstat (limited to 'unix/tkUnixSend.c')
-rw-r--r-- | unix/tkUnixSend.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c index 3bd1c1b..e2d1e39 100644 --- a/unix/tkUnixSend.c +++ b/unix/tkUnixSend.c @@ -1353,11 +1353,8 @@ SendInit( * for it. */ - dispPtr->commTkwin = Tk_CreateWindow(interp, (Tk_Window) NULL, - "_comm", DisplayString(dispPtr->display)); - if (dispPtr->commTkwin == NULL) { - Tcl_Panic("Tk_CreateWindow failed in SendInit!"); - } + dispPtr->commTkwin = (Tk_Window) TkAllocWindow(dispPtr, + DefaultScreen(dispPtr->display), NULL); Tcl_Preserve(dispPtr->commTkwin); atts.override_redirect = True; Tk_ChangeWindowAttributes(dispPtr->commTkwin, |