summaryrefslogtreecommitdiff
path: root/src/libebackend
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2019-05-17 08:38:45 +0200
committerMilan Crha <mcrha@redhat.com>2019-05-17 08:38:45 +0200
commitba09c9caeb0c6998e581b38f8aed55b4122e3c49 (patch)
tree39148493df9beea36f1a772c168c98db6671c0c4 /src/libebackend
parentd7abfa369ea02cf5d597776dc576827d3fd84814 (diff)
downloadevolution-data-server-ba09c9caeb0c6998e581b38f8aed55b4122e3c49.tar.gz
I#33 - Port to libical-glib
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/33
Diffstat (limited to 'src/libebackend')
-rw-r--r--src/libebackend/e-backend-enums.h22
-rw-r--r--src/libebackend/e-server-side-source.c1
2 files changed, 1 insertions, 22 deletions
diff --git a/src/libebackend/e-backend-enums.h b/src/libebackend/e-backend-enums.h
index 5c3656960..6fefc40a1 100644
--- a/src/libebackend/e-backend-enums.h
+++ b/src/libebackend/e-backend-enums.h
@@ -103,26 +103,4 @@ typedef enum {
E_OFFLINE_STATE_LOCALLY_DELETED
} EOfflineState;
-/**
- * EConflictResolution:
- * @E_CONFLICT_RESOLUTION_FAIL: Fail when a write-conflict occurs.
- * @E_CONFLICT_RESOLUTION_USE_NEWER: Use newer version of the object,
- * which can be either the server version or the local version of it.
- * @E_CONFLICT_RESOLUTION_KEEP_SERVER: Keep server object on conflict.
- * @E_CONFLICT_RESOLUTION_KEEP_LOCAL: Write local version of the object on conflict.
- * @E_CONFLICT_RESOLUTION_WRITE_COPY: Create a new copy of the object on conflict.
- *
- * Defines what to do when a conflict between the locally stored and
- * remotely stored object versions happen during object modify or remove.
- *
- * Since: 3.26
- **/
-typedef enum {
- E_CONFLICT_RESOLUTION_FAIL = 0,
- E_CONFLICT_RESOLUTION_USE_NEWER,
- E_CONFLICT_RESOLUTION_KEEP_SERVER,
- E_CONFLICT_RESOLUTION_KEEP_LOCAL,
- E_CONFLICT_RESOLUTION_WRITE_COPY
-} EConflictResolution;
-
#endif /* E_BACKEND_ENUMS_H */
diff --git a/src/libebackend/e-server-side-source.c b/src/libebackend/e-server-side-source.c
index 961660e3f..2c92d9fbf 100644
--- a/src/libebackend/e-server-side-source.c
+++ b/src/libebackend/e-server-side-source.c
@@ -2019,6 +2019,7 @@ e_server_side_source_load (EServerSideSource *source,
return FALSE;
} else {
+ g_free (source->priv->file_contents);
source->priv->file_contents = g_strdup (data);
}