]> git.neil.brown.name Git - edlib.git/commit
Don't call "Close" on panes that haven't been initialised.
authorNeilBrown <neil@brown.name>
Sun, 3 Sep 2023 09:24:23 +0000 (19:24 +1000)
committerNeilBrown <neil@brown.name>
Mon, 4 Sep 2023 23:07:53 +0000 (09:07 +1000)
commit82f1e2125ee6582216654f4e6927944f921fbf59
tree8ec82e055bbdaa2f26cee42b262f7345d81f9801
parent03f2f0e9f43401b7615b7f37dcc866ac0dd1a7a8
Don't call "Close" on panes that haven't been initialised.

If the Child-Notify call fails we discard the pane.  But calling "Close"
will call code that expect the pane.data to be initialised.  It won't
be.

So add a DAMAGED flag to allow this call to be skipped.

Signed-off-by: NeilBrown <neil@brown.name>
core-pane.c
core.h