Don't destroy MainWindow on delete-event, just hide it
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Tue, 20 Sep 2011 06:32:33 +0000 (16:32 +1000)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Tue, 20 Sep 2011 06:32:33 +0000 (16:32 +1000)
commit378393285bb5de21c4da85b2e64e044faef6f5b6
tree5cd47a18fd51b5328c405fa4bdd0ae1331ce8e8c
parent8a15d7ddcab9c2379e562e3b72e8ec6b11165d25
Don't destroy MainWindow on delete-event, just hide it

This stops MainWindow being unreferenced, and prevents crashes caused by
things which then try to use it.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=659118
src/empathy-main-window.c