aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-07-26 07:01:06 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-07-26 07:01:06 +0800
commit706cb549dfd40dbf931a5e33019086e262be0121 (patch)
tree87dd94ad59f085bebdd8d8ae3ed44e95503c4f42 /calendar
parent959c0e424c5625154dfe778c8d8d851df1524e68 (diff)
downloadgsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar
gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar.gz
gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar.bz2
gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar.lz
gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar.xz
gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar.zst
gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.zip
gracefully handle the lack of a method
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 svn path=/trunk/; revision=11419
Diffstat (limited to 'calendar')
-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);