diff options
author | fvogel <fvogelnew1@free.fr> | 2022-03-20 00:45:47 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-03-20 00:45:47 (GMT) |
commit | bf14f901bfca1dad28e0d48e32ef54c803020f46 (patch) | |
tree | 0e30af6508793635abe4361da2dea38359d78622 /generic/tkPlace.c | |
parent | a71264930fb12505b2c4ad3788645f44db60e7b5 (diff) | |
parent | 9766f4bf7a56706470a3af0d04d991298839f777 (diff) | |
download | tk-bf14f901bfca1dad28e0d48e32ef54c803020f46.zip tk-bf14f901bfca1dad28e0d48e32ef54c803020f46.tar.gz tk-bf14f901bfca1dad28e0d48e32ef54c803020f46.tar.bz2 |
Fix error in [d9a3bb8b]: PARENT_RECONFIG_PENDING is a container flag, not a content flag. In trunk, since [4ea208eb] the Content struct has no flags member anymore anyway, which made the build fail.
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 2eb5bb5..2595d8d 100644 --- a/generic/tkPlace.c +++ b/generic/tkPlace.c @@ -425,7 +425,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, |