diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-22 02:20:08 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-22 13:12:36 +0800 |
commit | 2b8701fa2b3925ab94231884e211bbcdada5359f (patch) | |
tree | 95dabbabe0f0cb62a865339d28bf4725cf669852 /modules | |
parent | 451179909849e4e4058180f095e6ae889d97b797 (diff) | |
download | gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.tar gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.tar.gz gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.tar.bz2 gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.tar.lz gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.tar.xz gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.tar.zst gsoc2013-evolution-2b8701fa2b3925ab94231884e211bbcdada5359f.zip |
EPreviewPane: Implement EAlertSink.
Means EMailBrowser no longer has to.
Also, EMailReader now provides a default implementation for
get_alert_sink() which just calls get_preview_pane() and casts.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-content.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c index ed94b45af3..e3b9f1f5ff 100644 --- a/modules/mail/e-mail-shell-content.c +++ b/modules/mail/e-mail-shell-content.c @@ -281,20 +281,6 @@ mail_shell_content_get_action_group (EMailReader *reader, return e_shell_window_get_action_group (shell_window, group_name); } -static EAlertSink * -mail_shell_content_get_alert_sink (EMailReader *reader) -{ - EMailShellContent *mail_shell_content; - - mail_shell_content = E_MAIL_SHELL_CONTENT (reader); - - /* Forward this to our internal EMailView, which - * also implements the EMailReader interface. */ - reader = E_MAIL_READER (mail_shell_content->priv->mail_view); - - return e_mail_reader_get_alert_sink (reader); -} - static EMailBackend * mail_shell_content_get_backend (EMailReader *reader) { @@ -476,7 +462,6 @@ static void mail_shell_content_reader_init (EMailReaderInterface *interface) { interface->get_action_group = mail_shell_content_get_action_group; - interface->get_alert_sink = mail_shell_content_get_alert_sink; interface->get_backend = mail_shell_content_get_backend; interface->get_formatter = mail_shell_content_get_formatter; interface->get_hide_deleted = mail_shell_content_get_hide_deleted; |