X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=a31dc472f8622027571b5a6261a6255f86d47f34;hb=f6274568fdaefb7b7ac66b76800d9fcf2230e4f0;hp=fcf54b13d49b458863c3dc49b2e885027eef4c02;hpb=7d49682e0b950d946e98a7c34abec3ee504aabaa;p=modest diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index fcf54b1..a31dc47 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -772,7 +772,7 @@ modest_ui_actions_compose_msg(ModestWindow *win, allowed_size = MODEST_MAX_ATTACHMENT_SIZE; msg_win = modest_msg_edit_window_new (msg, account_name, FALSE); - if (!modest_window_mgr_register_window (modest_runtime_get_window_mgr(), msg_win, NULL)) { + if (!modest_window_mgr_register_window (modest_runtime_get_window_mgr(), msg_win, win)) { gtk_widget_destroy (GTK_WIDGET (msg_win)); goto cleanup; }