window: Fix build

A bad rebase on top of some other GObject cleanups I had made
this go sour.