gtk-button.vala:8.5-8.26: error: The name `connect' does not exist in the contex
t of `null'
window.destroy.connect (Gtk.main_quit);
^^^^^^^^^^^^^^^^^^^^^^
gtk-button.vala:10.5-10.26: error: The name `connect' does not exist in the cont
ext of `null'
button.clicked.connect ((source) => {
^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 0 warning(s)

0.5.4 でコンパイルしてみたらエラーが出て通らなかた
イベントハンドルは += ではなくてなるべく connect を
使うのが推奨されてる…とかどこかで読んだような記憶があるようなないような…