diff options
Diffstat (limited to 'mail/em-message-browser.c')
-rw-r--r-- | mail/em-message-browser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-message-browser.c b/mail/em-message-browser.c index 46cf027771..4f3a2aaa2c 100644 --- a/mail/em-message-browser.c +++ b/mail/em-message-browser.c @@ -237,8 +237,10 @@ emmb_set_message(EMFolderView *emfv, const char *uid, int nomarkseen) emmb_parent->set_message(emfv, uid, nomarkseen); - if (uid == NULL) + if (uid == NULL) { + gtk_widget_destroy((GtkWidget *)emfv); return; + } if ((info = camel_folder_get_message_info (emfv->folder, uid))) { gtk_window_set_title ((GtkWindow *) emmb->window, camel_message_info_subject (info)); |