[evolution/gnome-3-10] Fix a runtime warning after a change for bug #583773
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-10] Fix a runtime warning after a change for bug #583773
- Date: Mon, 27 Jan 2014 15:05:22 +0000 (UTC)
commit b24bfc80fb596bd8e7fd26b19128866320daa0ab
Author: Milan Crha <mcrha redhat com>
Date: Mon Jan 27 15:49:59 2014 +0100
Fix a runtime warning after a change for bug #583773
Missed a case when an EMailReader is an EMailBrowser, which is not
an EMailView, which produced a runtime warning on a console when
a message was shown in a separate window (like after double-clicking it).
mail/e-mail-reader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 30b13be..efd706f 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2643,6 +2643,7 @@ mail_reader_load_status_changed_cb (EMailReader *reader,
priv = E_MAIL_READER_GET_PRIVATE (reader);
if (priv->schedule_mark_seen &&
+ E_IS_MAIL_VIEW (reader) &&
e_mail_display_get_part_list (display) &&
e_mail_view_get_preview_visible (E_MAIL_VIEW (reader)))
schedule_timeout_mark_seen (reader);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]