diff options
author | Milan Crha <mcrha@redhat.com> | 2011-07-01 20:25:40 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:33 +0800 |
commit | 290111d5ad5dffd83ade65693c927b9503d7ff7d (patch) | |
tree | b229b0af704f32484162e07bc154e84aa6859607 | |
parent | 963b1db98fb369af69418b059eab06fc4187c4c3 (diff) | |
download | gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.tar gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.tar.gz gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.tar.bz2 gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.tar.lz gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.tar.xz gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.tar.zst gsoc2013-evolution-290111d5ad5dffd83ade65693c927b9503d7ff7d.zip |
Call e_cal_client_check_save_schedules() only when found a calendar
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 611324d05e..0770ea2ebb 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -701,7 +701,7 @@ decrease_find_data (FormatItipFindData *fd) * invitiations (REQUEST), but not replies (REPLY). * Replies only make sense for events with an organizer. */ - if (!e_cal_client_check_save_schedules (pitip->current_client) && + if (pitip->current_client && !e_cal_client_check_save_schedules (pitip->current_client) && (pitip->method == ICAL_METHOD_PUBLISH || pitip->method == ICAL_METHOD_REQUEST) && pitip->has_organizer) { rsvp_enabled = TRUE; |