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/em-vfolder-context.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/em-vfolder-context.h') diff --git a/mail/em-vfolder-context.h b/mail/em-vfolder-context.h index 4a5406356b..c0fd041abc 100644 --- a/mail/em-vfolder-context.h +++ b/mail/em-vfolder-context.h @@ -25,7 +25,7 @@ #ifndef EM_VFOLDER_CONTEXT_H #define EM_VFOLDER_CONTEXT_H -#include +#include #include /* Standard GObject macros */ @@ -64,8 +64,8 @@ struct _EMVFolderContextClass { GType em_vfolder_context_get_type (void); EMVFolderContext * - em_vfolder_context_new (EMailBackend *backend); -EMailBackend * em_vfolder_context_get_backend (EMVFolderContext *context); + em_vfolder_context_new (EMailSession *session); +EMailSession * em_vfolder_context_get_session (EMVFolderContext *context); G_END_DECLS -- cgit v1.2.3