Don't prematurely mark window as realized
Don't prematurely mark window as realized

Other code assumes that the widget has a window if it is realized.
Since we might trigger such code indirectly from gtk_window_realize,
don't mark the window as realized before we've registered its window.

jigpu/gtk,jadahl/gtk,alexlarsson/gtk,ebassi/gtk,jessevdk/gtk,bratsche/gtk-,jessevdk/gtk,alexlarsson/gtk,chergert/gtk,msteinert/gtk,jadahl/gtk,ebassi/gtk,jigpu/gtk,davidgumberg/gtk,ebassi/gtk,bratsche/gtk-,davidgumberg/gtk,ebassi/gtk,Adamovskiy/gtk,chergert/gtk,grubersjoe/adwaita,msteinert/gtk,Sidnioulz/SandboxGtk,jigpu/gtk,ebassi/gtk,ahodesuka/gtk,Lyude/gtk-,ahodesuka/gtk,Sidnioulz/SandboxGtk,Sidnioulz/SandboxGtk,chergert/gtk,jigpu/gtk,Adamovskiy/gtk,jessevdk/gtk,jessevdk/gtk,jessevdk/gtk,davidgumberg/gtk,Lyude/gtk-,bratsche/gtk-,jadahl/gtk,ahodesuka/gtk,jadahl/gtk,jessevdk/gtk,chergert/gtk,grubersjoe/adwaita,Lyude/gtk-,ahodesuka/gtk,ahodesuka/gtk,Adamovskiy/gtk,Lyude/gtk-,jadahl/gtk,davidgumberg/gtk,grubersjoe/adwaita,bratsche/gtk-,ahodesuka/gtk,davidgumberg/gtk,chergert/gtk,alexlarsson/gtk,davidgumberg/gtk,jessevdk/gtk,chergert/gtk,grubersjoe/adwaita,jigpu/gtk,ahodesuka/gtk,Sidnioulz/SandboxGtk,ebassi/gtk,alexlarsson/gtk,msteinert/gtk,Adamovskiy/gtk,jigpu/gtk,Adamovskiy/gtk,grubersjoe/adwaita,msteinert/gtk,chergert/gtk,jadahl/gtk,Sidnioulz/SandboxGtk,msteinert/gtk,Adamovskiy/gtk,jigpu/gtk,grubersjoe/adwaita,alexlarsson/gtk,alexlarsson/gtk,grubersjoe/adwaita,jadahl/gtk,davidgumberg/gtk,Lyude/gtk-,bratsche/gtk-,alexlarsson/gtk,msteinert/gtk,alexlarsson/gtk,jadahl/gtk,chergert/gtk,davidgumberg/gtk,ahodesuka/gtk,Lyude/gtk-,Lyude/gtk-,bratsche/gtk-,jigpu/gtk,Lyude/gtk-,grubersjoe/adwaita,Adamovskiy/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk