diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-08 09:12:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-08 09:12:02 +0800 |
commit | 03fe4bdcbc8a2e644339bbfcd12843da1f766375 (patch) | |
tree | b2f3a6f3ed4053aec88a1568cc1936d00dbb9f9f /mail/e-mail-reader-utils.c | |
parent | 16e2beab9e4d412399f495f6165d27da80cb3675 (diff) | |
download | gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.gz gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.zst gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.zip |
Fix most of the compiler warnings in mail.
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r-- | mail/e-mail-reader-utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c index 3e069bac06..96fe1baad8 100644 --- a/mail/e-mail-reader-utils.c +++ b/mail/e-mail-reader-utils.c @@ -189,6 +189,7 @@ e_mail_reader_mark_selected (EMailReader *reader, guint e_mail_reader_open_selected (EMailReader *reader) { + EMailShellBackend *mail_shell_backend; EShellBackend *shell_backend; MessageList *message_list; CamelFolder *folder; @@ -204,6 +205,8 @@ e_mail_reader_open_selected (EMailReader *reader) shell_backend = e_mail_reader_get_shell_backend (reader); window = e_mail_reader_get_window (reader); + mail_shell_backend = E_MAIL_SHELL_BACKEND (shell_backend); + folder = message_list->folder; folder_uri = message_list->folder_uri; uids = message_list_get_selected (message_list); @@ -276,7 +279,7 @@ e_mail_reader_open_selected (EMailReader *reader) const gchar *uid = views->pdata[ii]; GtkWidget *browser; - browser = e_mail_browser_new (shell_backend); + browser = e_mail_browser_new (mail_shell_backend); e_mail_reader_set_folder ( E_MAIL_READER (browser), folder, folder_uri); e_mail_reader_set_message ( |