summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-07-24 16:29:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-07-24 16:29:22 (GMT)
commitc0451d06b82e8c5c9abf6060ee75ac5bd5d5cb66 (patch)
tree2fdc28b79d7af8d482a4bdd3fc00b6a781593a7f /unix
parent045c8e2b4a60728e4632c600c91619a496d3f302 (diff)
parentf31d4d7f95073bc2d3d98721d360efffa3c4b3be (diff)
downloadtk-c0451d06b82e8c5c9abf6060ee75ac5bd5d5cb66.zip
tk-c0451d06b82e8c5c9abf6060ee75ac5bd5d5cb66.tar.gz
tk-c0451d06b82e8c5c9abf6060ee75ac5bd5d5cb66.tar.bz2
merge 8.5
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixSend.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index c073309..f376d79 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -1350,11 +1350,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((ClientData) dispPtr->commTkwin);
atts.override_redirect = True;
Tk_ChangeWindowAttributes(dispPtr->commTkwin,