[evolution/wip/gsettings] Bug #642093 - Frees message attachment content on Reply
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #642093 - Frees message attachment content on Reply
- Date: Wed, 29 Jun 2011 17:14:15 +0000 (UTC)
commit 0f01c083520ddcdce54ed640621dbe8c5dcad1e4
Author: Milan Crha <mcrha redhat com>
Date: Tue Mar 1 15:53:15 2011 +0100
Bug #642093 - Frees message attachment content on Reply
modules/mail/e-mail-attachment-handler.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c
index c2b0cf5..7f51274 100644
--- a/modules/mail/e-mail-attachment-handler.c
+++ b/modules/mail/e-mail-attachment-handler.c
@@ -115,6 +115,9 @@ mail_attachment_handler_reply_all (GtkAction *action,
shell_settings = e_shell_get_shell_settings (priv->shell);
style = e_shell_settings_get_int (shell_settings, property_name);
+ /* em_utils_reply_to_message() unrefs 'message', thus ref it here */
+ g_object_ref (wrapper);
+
em_utils_reply_to_message (
priv->shell, NULL, NULL, CAMEL_MIME_MESSAGE (wrapper),
E_MAIL_REPLY_TO_ALL, style, NULL);
@@ -151,6 +154,9 @@ mail_attachment_handler_reply_sender (GtkAction *action,
shell_settings = e_shell_get_shell_settings (priv->shell);
style = e_shell_settings_get_int (shell_settings, property_name);
+ /* em_utils_reply_to_message() unrefs 'message', thus ref it here */
+ g_object_ref (wrapper);
+
em_utils_reply_to_message (
priv->shell, NULL, NULL, CAMEL_MIME_MESSAGE (wrapper),
E_MAIL_REPLY_TO_SENDER, style, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]