summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-12-21 20:03:46 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-12-21 20:03:46 (GMT)
commit7855d20841ffdd136998244c2f885452d48000d9 (patch)
tree1fcc37736cbfb9df3cb3dca4ea948e7286aa50ca /generic/tkGrid.c
parentc094def2c9b4b3f892cd1ad9042c4c0fcb8e8112 (diff)
downloadtk-7855d20841ffdd136998244c2f885452d48000d9.zip
tk-7855d20841ffdd136998244c2f885452d48000d9.tar.gz
tk-7855d20841ffdd136998244c2f885452d48000d9.tar.bz2
Fix [aa7679685e]: Destroying a master-window .. then crash
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 6b9f543..9c4ad82 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -2875,6 +2875,7 @@ GridStructureProc(
}
for (gridPtr2 = gridPtr->slavePtr; gridPtr2 != NULL;
gridPtr2 = nextPtr) {
+ Tk_ManageGeometry(gridPtr2->tkwin, NULL, NULL);
Tk_UnmapWindow(gridPtr2->tkwin);
gridPtr2->masterPtr = NULL;
nextPtr = gridPtr2->nextPtr;