window: Keep a reference to move_focus_widget
authorMatthias Clasen <mclasen@redhat.com>
Tue, 18 Oct 2022 18:21:51 +0000 (14:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Oct 2022 18:23:11 +0000 (14:23 -0400)
commite1d78821f662eda897e5187fca8fe9ec3f5f716f
tree19ae31be50587f78dbb06c9f19ee7c2a986afdef
parent94ac1af293a8f2b5ec2ebc5509efe33703e9f750
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