[evolution/webkit: 193/196] Fix crash when text/calendar part does not have attachment disposition



commit 3d0b871da57bd12db140ba8d8ab47083637cb144
Author: Dan VrÃtil <dvratil redhat com>
Date:   Tue Mar 27 14:30:12 2012 +0200

    Fix crash when text/calendar part does not have attachment disposition

 plugins/itip-formatter/itip-formatter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 65540d5..5945bc1 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -3236,7 +3236,7 @@ format_itip (EPlugin *ep,
 	puri->puri.write_func = write_itip_view;
         puri->puri.bind_func = bind_itip_view;
 	puri->puri.free = puri_free;
-	puri->puri.is_attachment = TRUE;
+	puri->puri.is_attachment = target->info->is_attachment;
         puri->puri.mime_type = g_strdup ("text/html");
 	puri->delete_message = g_settings_get_boolean (settings, CONF_KEY_DELETE);
 	puri->has_organizer = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]