diff options
author | Not Zed <NotZed@Ximian.com> | 2004-11-12 13:54:07 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-11-12 13:54:07 +0800 |
commit | d25f16e9ea91dc50cc8477576c6a7def086d34c7 (patch) | |
tree | afd1003f6acc2573c505d25b74d3e1f3c8b1691c /mail/em-composer-utils.c | |
parent | 8e212824134c1740d05fb36799f78716c5059801 (diff) | |
download | gsoc2013-evolution-d25f16e9ea91dc50cc8477576c6a7def086d34c7.tar.gz gsoc2013-evolution-d25f16e9ea91dc50cc8477576c6a7def086d34c7.tar.zst gsoc2013-evolution-d25f16e9ea91dc50cc8477576c6a7def086d34c7.zip |
** Merge in notzed-messageinfo-branch.
2004-11-12 Not Zed <NotZed@Ximian.com>
** Merge in notzed-messageinfo-branch.
svn path=/trunk/; revision=27899
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 12156559ef..691354af97 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -415,8 +415,8 @@ em_utils_composer_send_cb (EMsgComposer *composer, gpointer user_data) if (mail_folder) { /* mail the message */ - info = camel_message_info_new (); - info->flags = CAMEL_MESSAGE_SEEN; + info = camel_message_info_new(NULL); + camel_message_info_set_flags(info, CAMEL_MESSAGE_SEEN, ~0); send = g_malloc (sizeof (*send)); send->emcs = user_data; @@ -439,8 +439,8 @@ em_utils_composer_send_cb (EMsgComposer *composer, gpointer user_data) mail_tool_destroy_xevolution (xev); /* mail the message */ - info = camel_message_info_new (); - info->flags = CAMEL_MESSAGE_SEEN; + info = camel_message_info_new(NULL); + camel_message_info_set_flags(info, CAMEL_MESSAGE_SEEN, ~0); post_ptr = post_folders; while (post_ptr) { @@ -530,7 +530,7 @@ save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *i g_object_unref (sdi->composer); if (sdi->emcs) emcs_unref (sdi->emcs); - g_free (info); + camel_message_info_free(info); g_free (sdi); } @@ -578,8 +578,8 @@ em_utils_composer_save_draft_cb (EMsgComposer *composer, int quit, gpointer user msg = e_msg_composer_get_message_draft (composer); - info = g_new0 (CamelMessageInfo, 1); - info->flags = CAMEL_MESSAGE_DRAFT | CAMEL_MESSAGE_SEEN; + info = camel_message_info_new(NULL); + camel_message_info_set_flags(info, CAMEL_MESSAGE_DRAFT | CAMEL_MESSAGE_SEEN, ~0); sdi = g_malloc (sizeof (struct _save_draft_info)); sdi->composer = composer; |