aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/camel-vee-folder.c4
2 files changed, 4 insertions, 1 deletions
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 <fejj@ximian.com>
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 *