window: Keep a reference to move_focus_widget
authorMatthias Clasen <mclasen@redhat.com>
Tue, 18 Oct 2022 18:21:51 +0000 (14:21 -0400)
committerMat <mail@mathias.is>
Fri, 21 Oct 2022 11:37:43 +0000 (14:37 +0300)
commitbcad03da6c36ca8fe8161b756d1b05ad506e84ae
tree1867c2823bdb0640bc9d8c63a1c18aca7ce3ee8c
parenta0d85f36abce9e06acdb993f155a01c62fef33b1
window: Keep a reference to move_focus_widget

If we don't take a reference, it can happen that
the pointer is no longer valid by the time we
dereference it in after_paint.
gtk/gtkwindow.c