[evolution/webkit] Call e_cal_client_check_save_schedules() only when found a calendar
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] Call e_cal_client_check_save_schedules() only when found a calendar
- Date: Mon, 11 Jul 2011 15:00:13 +0000 (UTC)
commit b036a96b989b1f2a01f409bd7f6d073a3273aaca
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]