Revert parts of "window: Remove useless functions"
Revert parts of "window: Remove useless functions"

This reverts the size_allocate removal from commit
8449e05865b42a8c78b96f809b280aa5a4f044d8. That code was using
_gtk_window_set_allocation() instead of gtk_widget_set_allocation(). And
that broke glade.

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