aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-itip-control.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 9860c7b52a..bcd403d4ae 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-25 JP Rosevear <jpr@ximian.com>
+
+ * gui/e-itip-control.c (e_itip_control_set_data): gracefully
+ handle the lack of a method
+
2001-07-25 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.c (selection_received_cb): check type of component
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index bb060dc5c9..4cd270a3b1 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -874,6 +874,8 @@ e_itip_control_set_data (EItipControl *itip, const gchar *text)
}
prop = icalcomponent_get_first_property (priv->main_comp, ICAL_METHOD_PROPERTY);
+ if (prop == NULL)
+ goto show;
priv->method = icalproperty_get_method (prop);
tz_iter = icalcomponent_begin_component (priv->main_comp, ICAL_VTIMEZONE_COMPONENT);