aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-22 02:20:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-22 13:12:36 +0800
commit2b8701fa2b3925ab94231884e211bbcdada5359f (patch)
tree95dabbabe0f0cb62a865339d28bf4725cf669852 /modules
parent451179909849e4e4058180f095e6ae889d97b797 (diff)
downloadgsoc2013-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.c15
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;