aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-display.c')
-rw-r--r--mail/e-mail-display.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index c3ca4d3f10..03d6e1d9ef 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -239,7 +239,6 @@ mail_display_process_mailto (EWebView *web_view, const gchar *mailto_uri)
EMailDisplayPrivate *priv;
EMFormat *format;
CamelFolder *folder = NULL;
- const gchar *folder_uri = NULL;
EShell *shell;
priv = E_MAIL_DISPLAY (web_view)->priv;
@@ -250,12 +249,9 @@ mail_display_process_mailto (EWebView *web_view, const gchar *mailto_uri)
if (format != NULL && format->folder != NULL)
folder = format->folder;
- if (folder != NULL)
- folder_uri = camel_folder_get_uri (folder);
-
shell = e_shell_get_default ();
em_utils_compose_new_message_with_mailto (
- shell, mailto_uri, folder_uri);
+ shell, mailto_uri, folder);
return TRUE;
}