[evolution-mapi] Receiving new mail notification prevents Evolution quit



commit c4da8d53e7f0991022819c3d3939167c6ad5257f
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 29 16:05:41 2010 +0100

    Receiving new mail notification prevents Evolution quit

 src/camel/camel-mapi-notifications.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-mapi-notifications.c b/src/camel/camel-mapi-notifications.c
index 6180357..3cdf39d 100644
--- a/src/camel/camel-mapi-notifications.c
+++ b/src/camel/camel-mapi-notifications.c
@@ -191,7 +191,7 @@ mapi_notifications_filter (guint16 type, void *event, void *data)
 
 		new_mail_ops_msg->event = event;
 		new_mail_ops_msg->data = data;
-		mapi_new_mail_fetch (session, (CamelSessionThreadMsg *)new_mail_ops_msg);
+		camel_session_thread_queue (session, &new_mail_ops_msg->msg, 0);
 		return -1;
 		break;
 	case fnevMbit|fnevObjectCreated:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]