diff options
author | JP Rosevear <jpr@ximian.com> | 2001-07-26 07:01:06 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-07-26 07:01:06 +0800 |
commit | 706cb549dfd40dbf931a5e33019086e262be0121 (patch) | |
tree | 87dd94ad59f085bebdd8d8ae3ed44e95503c4f42 /calendar | |
parent | 959c0e424c5625154dfe778c8d8d851df1524e68 (diff) | |
download | gsoc2013-evolution-706cb549dfd40dbf931a5e33019086e262be0121.tar.gz 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/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-itip-control.c | 2 |
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); |