diff options
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index e545f326be..d3a6a35311 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -592,6 +592,7 @@ pstream_load (BonoboPersistStream *ps, const Bonobo_Stream stream, { EItipControlPrivate *priv = data; gint pos, length, length2; + icalcompiter iter; icalcomponent_kind comp_kind; char message[256]; @@ -617,8 +618,8 @@ pstream_load (BonoboPersistStream *ps, const Bonobo_Stream stream, return; } - priv->comp = icalcomponent_get_first_component (priv->main_comp, - ICAL_ANY_COMPONENT); + iter = icalcomponent_begin_component (priv->main_comp, ICAL_ANY_COMPONENT); + priv->comp = icalcompiter_deref (&iter); #if 0 { |