diff options
author | Milan Crha <mcrha@redhat.com> | 2014-01-27 22:49:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-01-27 22:49:59 +0800 |
commit | 1c53fdf558cf0ad51b54f9a0d1eb06f63931438d (patch) | |
tree | ee76922f434f3393137b51340b1407ee126bb989 | |
parent | 3066ddf0c4e747a48a825b70c7f250faa4e6d276 (diff) | |
download | gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.tar gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.tar.gz gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.tar.bz2 gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.tar.lz gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.tar.xz gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.tar.zst gsoc2013-evolution-1c53fdf558cf0ad51b54f9a0d1eb06f63931438d.zip |
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).
-rw-r--r-- | 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 ba739703b3..0021294eb8 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -2642,6 +2642,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); |