diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 01:42:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-04 01:42:15 +0800 |
commit | 06411bdbbb3e6877c679007c269c84b05713f895 (patch) | |
tree | 784bf00863a407cc099afb393fb84629f3b539a9 /mail/e-mail-display.c | |
parent | 1957378edf2264426c77571bde90c6bfeb7e50ce (diff) | |
download | gsoc2013-evolution-06411bdbbb3e6877c679007c269c84b05713f895.tar.gz gsoc2013-evolution-06411bdbbb3e6877c679007c269c84b05713f895.tar.zst gsoc2013-evolution-06411bdbbb3e6877c679007c269c84b05713f895.zip |
Remove 'from_uri' params from e-msg-composer-utils.c.
Pass CamelFolder objects instead, which are already available at almost
every call site.
Diffstat (limited to 'mail/e-mail-display.c')
-rw-r--r-- | mail/e-mail-display.c | 6 |
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; } |