[evolution] Call e_cal_client_check_save_schedules() only when found a calendar
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Call e_cal_client_check_save_schedules() only when found a calendar
- Date: Fri, 1 Jul 2011 12:26:17 +0000 (UTC)
commit 6d8542a62879bd8b6f06e2679fc9f846ba497935
Author: Milan Crha <mcrha redhat com>
Date: Fri Jul 1 14:25:40 2011 +0200
Call e_cal_client_check_save_schedules() only when found a calendar
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 611324d..0770ea2 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]