diff options
author | fvogel <fvogelnew1@free.fr> | 2022-03-20 00:41:27 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-03-20 00:41:27 (GMT) |
commit | 3aa5a3b049995a30bba527275f4a52d1885409d1 (patch) | |
tree | 065c576d7c1a66ad648d535a96f0c18d4da09332 /generic/tkPlace.c | |
parent | 3160bd7447d371ee375d1a75a71d9beb945c1f62 (diff) | |
download | tk-3aa5a3b049995a30bba527275f4a52d1885409d1.zip tk-3aa5a3b049995a30bba527275f4a52d1885409d1.tar.gz tk-3aa5a3b049995a30bba527275f4a52d1885409d1.tar.bz2 |
Fix error in [df2353f2]: PARENT_RECONFIG_PENDING is a container flag, not a content flag.
Diffstat (limited to 'generic/tkPlace.c')
-rw-r--r-- | generic/tkPlace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPlace.c b/generic/tkPlace.c index 108097c..3c47476 100644 --- a/generic/tkPlace.c +++ b/generic/tkPlace.c @@ -426,7 +426,7 @@ static void FreeContent( Content *contentPtr) { - if (contentPtr->flags & PARENT_RECONFIG_PENDING) { + if (contentPtr->containerPtr && (contentPtr->containerPtr->flags & PARENT_RECONFIG_PENDING)) { Tcl_CancelIdleCall(RecomputePlacement, contentPtr); } Tk_FreeConfigOptions((char *) contentPtr, contentPtr->optionTable, |