aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 8d7d218ff5..305b8c9137 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1997,10 +1997,10 @@ emfv_list_done_message_selected(CamelFolder *folder, const char *uid, CamelMimeM
EMEvent *eme;
EMEventTargetMessage *target;
- if (emfv->preview == NULL || msg == NULL) {
+ if (emfv->preview == NULL) {
emfv->priv->nomarkseen = FALSE;
- g_object_unref (emfv);
emfv_enable_menus(emfv);
+ g_object_unref (emfv);
return;
}
@@ -2035,10 +2035,9 @@ emfv_list_done_message_selected(CamelFolder *folder, const char *uid, CamelMimeM
}
}
- g_object_unref (emfv);
emfv->priv->nomarkseen = FALSE;
-
emfv_enable_menus(emfv);
+ g_object_unref (emfv);
}
static void