diff options
author | Not Zed <NotZed@Ximian.com> | 2004-02-17 15:04:11 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-02-17 15:04:11 +0800 |
commit | eac63a9efdcb281506424fcfad95394211086059 (patch) | |
tree | e2f4fc059c5d01c819f4a7f968384b64421a37c0 /camel/camel-vee-store.c | |
parent | d83995108ddfd2d9e1ba567f3325734f4dbce4bd (diff) | |
download | gsoc2013-evolution-eac63a9efdcb281506424fcfad95394211086059.tar.gz gsoc2013-evolution-eac63a9efdcb281506424fcfad95394211086059.tar.zst gsoc2013-evolution-eac63a9efdcb281506424fcfad95394211086059.zip |
implment, make sync a noop on vee stores. Speeds up exit, so we don't try
2004-02-17 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (vee_sync): implment, make sync a noop on vee
stores. Speeds up exit, so we don't try and sync and re-sync
folders multiple times.
svn path=/trunk/; revision=24758
Diffstat (limited to 'camel/camel-vee-store.c')
-rw-r--r-- | camel/camel-vee-store.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c index eb6c7ed214..d46c120fe7 100644 --- a/camel/camel-vee-store.c +++ b/camel/camel-vee-store.c @@ -35,6 +35,8 @@ static CamelFolder *vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, CamelException *ex); static void vee_delete_folder(CamelStore *store, const char *folder_name, CamelException *ex); static void vee_rename_folder(CamelStore *store, const char *old, const char *new, CamelException *ex); + +static void vee_sync (CamelStore *store, int expunge, CamelException *ex); static CamelFolder *vee_get_trash (CamelStore *store, CamelException *ex); static CamelFolder *vee_get_junk (CamelStore *store, CamelException *ex); @@ -78,6 +80,7 @@ camel_vee_store_class_init (CamelVeeStoreClass *klass) store_class->get_folder_info = vee_get_folder_info; store_class->free_folder_info = camel_store_free_folder_info_full; + store_class->sync = vee_sync; store_class->get_trash = vee_get_trash; store_class->get_junk = vee_get_junk; } @@ -183,6 +186,12 @@ vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, Camel return (CamelFolder *)vf; } +static void +vee_sync(CamelStore *store, int expunge, CamelException *ex) +{ + /* noop */; +} + static CamelFolder * vee_get_trash (CamelStore *store, CamelException *ex) { |