aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-03-05 00:03:06 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-03-05 00:03:06 +0800
commit1353535f0bc0420886825fc8a4ae33b5235f1486 (patch)
treeab44fd448c553d6046429e5cfea27dcb9df1e722 /calendar/gui/dialogs
parent2880be8e8221d1e1ab02d03920c68057f1faa52b (diff)
downloadgsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.tar
gsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.tar.gz
gsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.tar.bz2
gsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.tar.lz
gsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.tar.xz
gsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.tar.zst
gsoc2013-evolution-1353535f0bc0420886825fc8a4ae33b5235f1486.zip
** Fix for bug #573119
2009-03-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #573119 * gui/dialogs/comp-editor.c: (set_attendees_for_delegation): * gui/e-cal-popup.c: (is_delegated), (needs_to_accept): Do not ask value of not included (NULL) parameters. svn path=/trunk/; revision=37368
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index dcdff0947e..61331e97f7 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -3015,10 +3015,11 @@ set_attendees_for_delegation (ECalComponent *comp, const char *address, ECalComp
prop;
prop = icalcomponent_get_next_property (icalcomp, ICAL_ATTENDEE_PROPERTY)) {
const char *attendee = icalproperty_get_attendee (prop);
- const char *delfrom;
+ const char *delfrom = NULL;
param = icalproperty_get_first_parameter(prop, ICAL_DELEGATEDFROM_PARAMETER);
- delfrom = icalparameter_get_delegatedfrom (param);
+ if (param)
+ delfrom = icalparameter_get_delegatedfrom (param);
if (!(g_str_equal (itip_strip_mailto (attendee), address) ||
((delfrom && *delfrom) &&
g_str_equal (itip_strip_mailto (delfrom), address)))) {