From 83c2cc10f4dde85c2f4acfdf0df32990d11facde Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 14 Oct 2008 07:28:52 +0000 Subject: ** Fix for bug #550441 2008-10-14 Srinivasa Ragavan ** Fix for bug #550441 * itip-formatter.c: (view_response_cb): Ignore if summary not there. svn path=/trunk/; revision=36614 --- plugins/itip-formatter/ChangeLog | 6 ++++++ plugins/itip-formatter/itip-formatter.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index d3486b6f4c..448ee918d0 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,9 @@ +2008-10-14 Srinivasa Ragavan + + ** Fix for bug #550441 + + * itip-formatter.c: (view_response_cb): Ignore if summary not there. + 2008-10-13 Milan Crha ** Fix for bug #550441 diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index b606b7840b..a2ceffb77b 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1792,6 +1792,8 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data) count = camel_folder_summary_count (pitip->folder->summary); for (i = 0; i < count; i++) { mi = camel_folder_summary_index (pitip->folder->summary, i); + if (!mi) + continue; camel_message_info_ref (mi); if ( camel_message_info_user_tag (mi, "recurrence-key") && g_str_equal (camel_message_info_user_tag (mi, "recurrence-key"), tag)) { -- cgit