summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-25 08:49:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-25 08:49:17 (GMT)
commite87215095d499ceb5ee6a524291b655bd2b5e68e (patch)
tree086b7eba78da96974e5f4ec90e75101db5831b5f /generic/tkGrid.c
parentb9ec863e51c38596a4d72a0b58c339da5722a60f (diff)
parent332a310b88f7e2df121be42967755bc600f2c1b2 (diff)
downloadtk-e87215095d499ceb5ee6a524291b655bd2b5e68e.zip
tk-e87215095d499ceb5ee6a524291b655bd2b5e68e.tar.gz
tk-e87215095d499ceb5ee6a524291b655bd2b5e68e.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 3ec3597..d796110 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -2829,6 +2829,9 @@ DestroyGrid(
{
Gridder *gridPtr = (Gridder *)memPtr;
+ if (gridPtr->flags & REQUESTED_RELAYOUT) {
+ Tcl_CancelIdleCall(ArrangeGrid, gridPtr);
+ }
if (gridPtr->containerDataPtr != NULL) {
if (gridPtr->containerDataPtr->rowPtr != NULL) {
ckfree(gridPtr->containerDataPtr -> rowPtr);