diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-13 04:57:37 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:14 +0800 |
commit | f21da771776286769f390a6631a1a5fc2a675e76 (patch) | |
tree | ab4ceed6d4e8ee7bd106c87825aca5c63ef58d31 /mail/e-mail-reader.c | |
parent | 61f2760572d458edb77934cbed815a7151ebbd58 (diff) | |
download | gsoc2013-evolution-f21da771776286769f390a6631a1a5fc2a675e76.tar.gz gsoc2013-evolution-f21da771776286769f390a6631a1a5fc2a675e76.tar.zst gsoc2013-evolution-f21da771776286769f390a6631a1a5fc2a675e76.zip |
em_utils_reply_to_message(): Require a CamelMimeMessage.
No more fetching a message itself. Oh, and stop unreffing the message.
Those kinds of insane semantics are what lead to crashes.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 315e6b91c1..673a5b206f 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -1122,9 +1122,6 @@ action_mail_reply_all_check (CamelFolder *folder, if (!message) return; - /* get_message_free () will unref the message, so we need to take an - extra ref for e_mail_reader_reply_to_message () to own. */ - g_object_ref (message); to = camel_mime_message_get_recipients (message, CAMEL_RECIPIENT_TYPE_TO); cc = camel_mime_message_get_recipients (message, CAMEL_RECIPIENT_TYPE_CC); @@ -1291,10 +1288,6 @@ action_mail_reply_sender_check (CamelFolder *folder, munged_list_message = em_utils_is_munged_list_message (message); - /* get_message_free () will unref the message, so we need to take an - extra ref for e_mail_reader_reply_to_message () to own. */ - g_object_ref (message); - /* Don't do the "Are you sure you want to reply in private?" pop-up if it's a Reply-To: munged list message... unless we're ignoring munging */ if (ask_ignore_list_reply_to || !munged_list_message) { |