diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2009-03-05 18:29:43 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2009-03-05 18:29:43 +0800 |
commit | f04e4e06d22dc1ab0dd25501d9199d7e5014dbf9 (patch) | |
tree | d20f3cf8250c50090453d359ed6972fe96f0f3e3 /calendar/gui/itip-utils.c | |
parent | b8301aa653a2ce7cbe3785f175b85a7f32e67be7 (diff) | |
download | gsoc2013-evolution-f04e4e06d22dc1ab0dd25501d9199d7e5014dbf9.tar.gz gsoc2013-evolution-f04e4e06d22dc1ab0dd25501d9199d7e5014dbf9.tar.zst gsoc2013-evolution-f04e4e06d22dc1ab0dd25501d9199d7e5014dbf9.zip |
Fixes #435455 (bnc)
svn path=/trunk/; revision=37375
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 574c7800f1..829ac287ce 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -123,13 +123,13 @@ itip_organizer_is_user (ECalComponent *comp, ECal *client) } gboolean -itip_sentby_is_user (ECalComponent *comp) +itip_sentby_is_user (ECalComponent *comp, ECal *client) { ECalComponentOrganizer organizer; const char *strip; gboolean user_sentby = FALSE; - if (!e_cal_component_has_organizer (comp)) + if (!e_cal_component_has_organizer (comp) ||e_cal_get_static_capability (client, CAL_STATIC_CAPABILITY_NO_ORGANIZER)) return FALSE; e_cal_component_get_organizer (comp, &organizer); @@ -936,7 +936,7 @@ comp_sentby (ECalComponent *comp, ECal *client) } } - if (!itip_organizer_is_user (comp, client) && !itip_sentby_is_user (comp)) { + if (!itip_organizer_is_user (comp, client) && !itip_sentby_is_user (comp, client)) { EAccount *a = itip_addresses_get_default (); organizer.value = g_strdup (organizer.value); |