aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-10-14 15:28:52 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-10-14 15:28:52 +0800
commit83c2cc10f4dde85c2f4acfdf0df32990d11facde (patch)
tree29937e09973f427acaa6d20fbb14aa729e0e2c0b
parent54fc85bbbf5dd91d1e8a806141ef18d25ae5bb20 (diff)
downloadgsoc2013-evolution-83c2cc10f4dde85c2f4acfdf0df32990d11facde.tar.gz
gsoc2013-evolution-83c2cc10f4dde85c2f4acfdf0df32990d11facde.tar.zst
gsoc2013-evolution-83c2cc10f4dde85c2f4acfdf0df32990d11facde.zip
** Fix for bug #550441
2008-10-14 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #550441 * itip-formatter.c: (view_response_cb): Ignore if summary not there. svn path=/trunk/; revision=36614
-rw-r--r--plugins/itip-formatter/ChangeLog6
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
2 files changed, 8 insertions, 0 deletions
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 <sragavan@novell.com>
+
+ ** Fix for bug #550441
+
+ * itip-formatter.c: (view_response_cb): Ignore if summary not there.
+
2008-10-13 Milan Crha <mcrha@redhat.com>
** 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)) {