aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 1d929fb4f0..f2fd6a4cec 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1321,6 +1321,20 @@ change_info_clear(GPtrArray *uids)
}
/**
+ * camel_folder_change_info_changed:
+ * @info:
+ *
+ * Return true if the changeset contains any changes.
+ *
+ * Return Value:
+ **/
+gboolean
+camel_folder_change_info_changed(CamelFolderChangeInfo *info)
+{
+ return (info->uid_added->len || info->uid_removed->len || info->uid_changed->len);
+}
+
+/**
* camel_folder_change_info_clear:
* @info:
*