diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-31 02:23:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-31 09:01:11 +0800 |
commit | 831d6dca44ecaa272b4ef5e1cfc29578e7ba5435 (patch) | |
tree | cbb127fed5476107f8808bf08328ca095b2fc2de /plugins | |
parent | c2fccbbb626c04ec2dbaa80dd5224280041d8703 (diff) | |
download | gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.tar gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.tar.gz gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.tar.bz2 gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.tar.lz gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.tar.xz gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.tar.zst gsoc2013-evolution-831d6dca44ecaa272b4ef5e1cfc29578e7ba5435.zip |
Kill mail_append_mail().
Use e_mail_folder_append_message() instead.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/templates/templates.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c index 815ee69882..bca45f040f 100644 --- a/plugins/templates/templates.c +++ b/plugins/templates/templates.c @@ -31,6 +31,7 @@ #include <e-util/e-config.h> +#include <mail/e-mail-folder-utils.h> #include <mail/e-mail-local.h> #include <mail/e-mail-reader.h> #include <mail/e-mail-session.h> @@ -710,7 +711,10 @@ got_message_draft_cb (EMsgComposer *composer, camel_message_info_set_flags ( info, CAMEL_MESSAGE_SEEN | CAMEL_MESSAGE_DRAFT, ~0); - mail_append_mail (folder, message, info, NULL, composer); + /* FIXME No async callback, so... hope for the best? */ + e_mail_folder_append_message ( + folder, message, info, G_PRIORITY_DEFAULT, + NULL, (GAsyncReadyCallback) NULL, NULL); g_object_unref (message); } |