From a9cfed5938aef37d95c009411f965ebc185547c1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 16 Dec 2011 10:40:37 -0500 Subject: Avoid passing EMailBackend as much as possible. More mail API churn... reversing some previous API decisions. I've made some key API changes to EMailSession on the account-mgmt branch which should allow for this, and will hopefully also benefit the "email-factory" branch. EMailBackend barely needs to exist anymore, except as the owner of EMailSession. For several low-level functions, we replace its EMailBackend parameter with EMailSession and EAlertSink parameters; the latter so it can still pass user alerts up the chain. --- mail/message-list.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/message-list.h') diff --git a/mail/message-list.h b/mail/message-list.h index d0c8a55303..ffd3a1364c 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -27,7 +27,7 @@ #include #include -#include +#include /* Standard GObject macros */ #define MESSAGE_LIST_TYPE \ @@ -178,8 +178,8 @@ typedef enum { } MessageListSelectDirection; GType message_list_get_type (void); -GtkWidget * message_list_new (EMailBackend *backend); -EMailBackend * message_list_get_backend (MessageList *message_list); +GtkWidget * message_list_new (EMailSession *session); +EMailSession * message_list_get_session (MessageList *message_list); void message_list_set_folder (MessageList *message_list, CamelFolder *folder, gboolean outgoing); -- cgit v1.2.3