From: Sergio Villar Senin Date: Tue, 13 May 2008 16:02:00 +0000 (+0000) Subject: * Fixes NB#85455, close the dialogs with their parent, this avoids some possible... X-Git-Tag: git_migration_finished~1379 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=d42b4f82aa0e3d0150d65487eb1ef46ee3214017 * Fixes NB#85455, close the dialogs with their parent, this avoids some possible crashes when closing the windows before the dialogs pmo-trunk-r4524 --- 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); }