From 1b6fe39a3c556248852a47b871eefac477450cf0 Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Thu, 29 Mar 2001 02:10:03 +0000 Subject: (vee_expunge): Oops, call the class sync, not superclass sync. svn path=/trunk/; revision=9006 --- camel/ChangeLog | 1 + camel/camel-vee-folder.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 01d7af9d42..4fe0f22704 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -18,6 +18,7 @@ (camel_vee_folder_get_message_folder): Removed function. (camel_vee_folder_hash_folder): Made public (renamed from hash_folder), simply for subclasses (probably not needed). + (vee_expunge): Oops, call the class sync, not superclass sync. 2001-03-27 Jeffrey Stedfast diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c index a4585eec17..5364caf9e3 100644 --- a/camel/camel-vee-folder.c +++ b/camel/camel-vee-folder.c @@ -409,6 +409,8 @@ vee_sync(CamelFolder *folder, gboolean expunge, CamelException *ex) struct _CamelVeeFolderPrivate *p = _PRIVATE(vf); GList *node; + printf("vee-sync\n"); + CAMEL_VEE_FOLDER_LOCK(vf, subfolder_lock); node = p->folders; @@ -431,7 +433,7 @@ vee_sync(CamelFolder *folder, gboolean expunge, CamelException *ex) static void vee_expunge (CamelFolder *folder, CamelException *ex) { - ((CamelFolderClass *)camel_vee_folder_parent)->sync(folder, TRUE, ex); + ((CamelFolderClass *)((CamelObject *)folder)->classfuncs)->sync(folder, TRUE, ex); } static CamelMimeMessage * -- cgit