Fix use-after-free in gdk_window_end_paint()
Fix use-after-free in gdk_window_end_paint()

It's a miracle that this code ever worked.

davidgumberg/gtk,alexlarsson/gtk,jadahl/gtk,alexlarsson/gtk,jigpu/gtk,chergert/gtk,alexlarsson/gtk,chergert/gtk,Adamovskiy/gtk,Adamovskiy/gtk,davidgumberg/gtk,jigpu/gtk,jadahl/gtk,Adamovskiy/gtk,jadahl/gtk,chergert/gtk,alexlarsson/gtk,davidgumberg/gtk,davidgumberg/gtk,jigpu/gtk,Adamovskiy/gtk,grubersjoe/adwaita,davidgumberg/gtk,alexlarsson/gtk,jigpu/gtk,grubersjoe/adwaita,grubersjoe/adwaita,grubersjoe/adwaita,jigpu/gtk,Adamovskiy/gtk,alexlarsson/gtk,chergert/gtk,chergert/gtk,jigpu/gtk,jadahl/gtk,grubersjoe/adwaita,jadahl/gtk,grubersjoe/adwaita,davidgumberg/gtk,jadahl/gtk,alexlarsson/gtk,alexlarsson/gtk,Adamovskiy/gtk,chergert/gtk,grubersjoe/adwaita,chergert/gtk,Adamovskiy/gtk,jigpu/gtk,jadahl/gtk,davidgumberg/gtk,jigpu/gtk,grubersjoe/adwaita,davidgumberg/gtk,chergert/gtk,Adamovskiy/gtk,jadahl/gtk