From fc2c71593a190a0742639cd1f22664aecdc0d05d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 30 Sep 2010 09:39:25 -0400 Subject: Remove "type" parameter from mail_async_event_emit(). All remaining cases use MAIL_ASYNC_GUI, so remove mail_async_event_t altogether. --- mail/em-folder-tree-model.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/em-folder-tree-model.c') diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index 62e8e1b468..a7386b5471 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -879,7 +879,7 @@ folder_subscribed_cb (CamelStore *store, fi = camel_folder_info_clone (event_data); mail_async_event_emit ( - mail_async_event, MAIL_ASYNC_GUI, (MailAsyncFunc) + mail_async_event, (MailAsyncFunc) folder_subscribed, store, fi, model); } @@ -923,7 +923,7 @@ folder_unsubscribed_cb (CamelStore *store, fi = camel_folder_info_clone (event_data); mail_async_event_emit ( - mail_async_event, MAIL_ASYNC_GUI, (MailAsyncFunc) + mail_async_event, (MailAsyncFunc) folder_unsubscribed, store, fi, model); } @@ -943,7 +943,7 @@ folder_created_cb (CamelStore *store, fi = camel_folder_info_clone (event_data); mail_async_event_emit ( - mail_async_event, MAIL_ASYNC_GUI, (MailAsyncFunc) + mail_async_event, (MailAsyncFunc) folder_subscribed, store, fi, model); } @@ -963,7 +963,7 @@ folder_deleted_cb (CamelStore *store, fi = camel_folder_info_clone (event_data); mail_async_event_emit ( - mail_async_event, MAIL_ASYNC_GUI, (MailAsyncFunc) + mail_async_event, (MailAsyncFunc) folder_unsubscribed_cb, store, fi, model); } @@ -1042,7 +1042,7 @@ folder_renamed_cb (CamelStore *store, rinfo->new = camel_folder_info_clone (info); mail_async_event_emit ( - mail_async_event, MAIL_ASYNC_GUI, (MailAsyncFunc) + mail_async_event, (MailAsyncFunc) folder_renamed, store, rinfo, model); } -- cgit