From d42b4f82aa0e3d0150d65487eb1ef46ee3214017 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Tue, 13 May 2008 16:02:00 +0000 Subject: [PATCH] * Fixes NB#85455, close the dialogs with their parent, this avoids some possible crashes when closing the windows before the dialogs pmo-trunk-r4524 --- src/widgets/modest-window-mgr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index 43297e9..741b5c5 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -1160,6 +1160,8 @@ modest_window_mgr_set_modal (ModestWindowMgr *self, G_CALLBACK (on_modal_window_close), self); } + /* Destroy width parent */ + gtk_window_set_destroy_with_parent (window, TRUE); } -- 1.7.9.5