From 582853c42b3a61a8d4630e91522bb0760c4c958e Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 31 Mar 2005 18:03:16 +0000 Subject: Fixes #73844 2005-03-31 JP Rosevear Fixes #73844 * itip-formatter.c (extract_itip_data): make sure we check the kind of the correct item svn path=/trunk/; revision=29133 --- plugins/itip-formatter/itip-formatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/itip-formatter/itip-formatter.c') 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; -- cgit