aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-04-01 02:03:16 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-04-01 02:03:16 +0800
commit582853c42b3a61a8d4630e91522bb0760c4c958e (patch)
tree15913550d0bf412d59d8370920ff9f0a975c0ab9 /plugins/itip-formatter
parent9bb99f836abd0e1570fd49be1feec27c8ddfb3cb (diff)
downloadgsoc2013-evolution-582853c42b3a61a8d4630e91522bb0760c4c958e.tar.gz
gsoc2013-evolution-582853c42b3a61a8d4630e91522bb0760c4c958e.tar.zst
gsoc2013-evolution-582853c42b3a61a8d4630e91522bb0760c4c958e.zip
Fixes #73844
2005-03-31 JP Rosevear <jpr@novell.com> Fixes #73844 * itip-formatter.c (extract_itip_data): make sure we check the kind of the correct item svn path=/trunk/; revision=29133
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r--plugins/itip-formatter/ChangeLog7
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index 3b2a7a7e62..d4269a7ce9 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,10 @@
+2005-03-31 JP Rosevear <jpr@novell.com>
+
+ Fixes #73844
+
+ * itip-formatter.c (extract_itip_data): make sure we check the
+ kind of the correct item
+
2005-03-30 Li Yuan <li.yuan@sun.com>
* itip-formatter.c: (itip_formatter_page_factory):
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 27bf851668..0f3c91f05d 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -1011,7 +1011,7 @@ extract_itip_data (FormatItipPObject *pitip, GtkContainer *container)
return FALSE;
}
- switch (kind) {
+ switch (icalcomponent_isa (pitip->ical_comp)) {
case ICAL_VEVENT_COMPONENT:
pitip->type = E_CAL_SOURCE_TYPE_EVENT;
break;