[evolution-data-server] Fix recently introduced compiler warnings in CalDAV calendar backend
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix recently introduced compiler warnings in CalDAV calendar backend
- Date: Tue, 14 Jun 2011 07:31:14 +0000 (UTC)
commit adea2328e8ab2175731a603bc6e900fab6fe0649
Author: Milan Crha <mcrha redhat com>
Date: Tue Jun 14 09:30:27 2011 +0200
Fix recently introduced compiler warnings in CalDAV calendar backend
calendar/backends/caldav/e-cal-backend-caldav.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index c1d68c0..33243da 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -3512,6 +3512,7 @@ do_modify_object (ECalBackendCalDAV *cbdav, const gchar *calobj, CalObjModType m
}
switch (mod) {
+ case CALOBJ_MOD_ONLY_THIS:
case CALOBJ_MOD_THIS:
if (e_cal_component_is_instance (comp)) {
icalcomponent *new_comp = e_cal_component_get_icalcomponent (comp);
@@ -3635,10 +3636,11 @@ do_remove_object (ECalBackendCalDAV *cbdav, const gchar *uid, const gchar *rid,
}
switch (mod) {
+ case CALOBJ_MOD_ONLY_THIS:
case CALOBJ_MOD_THIS:
if (rid && *rid) {
/* remove one instance from the component */
- if (remove_instance (cbdav, cache_comp, icaltime_from_string (rid), mod, TRUE)) {
+ if (remove_instance (cbdav, cache_comp, icaltime_from_string (rid), mod, mod != CALOBJ_MOD_ONLY_THIS)) {
if (object) {
icalcomponent *master = get_master_comp (cbdav, cache_comp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]