aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-18 22:42:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-19 00:32:38 +0800
commitec170e47fdeb57272110fa3ef9164a98d8b69d84 (patch)
treec3442ae4984e847e664af1cbd4c9305d9c8e8c6b /mail/em-composer-utils.c
parente555c2bff07d0f6d2778117cd28c3eb04f381f75 (diff)
downloadgsoc2013-evolution-ec170e47fdeb57272110fa3ef9164a98d8b69d84.tar.gz
gsoc2013-evolution-ec170e47fdeb57272110fa3ef9164a98d8b69d84.tar.zst
gsoc2013-evolution-ec170e47fdeb57272110fa3ef9164a98d8b69d84.zip
Move more account utilities to e-account-utils.c.
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 0dcfa9b14f..9f6e107af4 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -35,7 +35,6 @@
#include "mail-mt.h"
#include "mail-ops.h"
#include "mail-tools.h"
-#include "mail-config.h"
#include "mail-send-recv.h"
#include "e-util/e-account-utils.h"
@@ -816,7 +815,7 @@ create_new_composer (EShell *shell,
if (from_uri != NULL) {
GList *list;
- account = mail_config_get_account_by_source_url (from_uri);
+ account = e_get_account_by_source_url (from_uri);
list = g_list_prepend (NULL, (gpointer) from_uri);
e_composer_header_table_set_post_to_list (table, list);
@@ -881,7 +880,7 @@ em_utils_compose_new_message_with_mailto (EShell *shell,
table = e_msg_composer_get_header_table (composer);
if (from_uri
- && (account = mail_config_get_account_by_source_url (from_uri)))
+ && (account = e_get_account_by_source_url (from_uri)))
e_composer_header_table_set_account_name (table, account->name);
composer_set_no_change (composer);