aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/itip-formatter/itip-formatter.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 0d80086342..7a66508500 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -1009,6 +1009,13 @@ find_cal_opened_cb (GObject *source_object,
g_return_if_fail (E_IS_CAL_CLIENT (client));
+ /* Do not process read-only calendars */
+ if (e_client_is_readonly (client)) {
+ g_object_unref (client);
+ decrease_find_data (fd);
+ return;
+ }
+
cal_client = E_CAL_CLIENT (client);
source_type = e_cal_client_get_source_type (cal_client);