evolution r34778 - trunk/mail
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34778 - trunk/mail
- Date: Tue, 8 Jan 2008 03:33:35 +0000 (GMT)
Author: msuman
Date: Tue Jan 8 03:33:35 2008
New Revision: 34778
URL: http://svn.gnome.org/viewvc/evolution?rev=34778&view=rev
Log:
Patch from Bharath Acharya <abharath novell com>: Fix for bug #474118 (Check for store type and invoke appropriate *_prepare_for_offline functions)
Modified:
trunk/mail/ChangeLog
trunk/mail/mail-ops.c
Modified: trunk/mail/mail-ops.c
==============================================================================
--- trunk/mail/mail-ops.c (original)
+++ trunk/mail/mail-ops.c Tue Jan 8 03:33:35 2008
@@ -2321,8 +2321,13 @@
static void
prepare_offline_exec (struct _set_offline_msg *m)
{
- camel_disco_store_prepare_for_offline (CAMEL_DISCO_STORE (m->store),
+ if (CAMEL_IS_DISCO_STORE (m->store)) {
+ camel_disco_store_prepare_for_offline (CAMEL_DISCO_STORE (m->store),
&m->base.ex);
+ } else if (CAMEL_IS_OFFLINE_STORE (m->store)) {
+ camel_offline_store_prepare_for_offline (CAMEL_OFFLINE_STORE (m->store),
+ &m->base.ex);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]