window: fix warning when unbinding property

https://bugzilla.gnome.org/show_bug.cgi?id=740117