aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selection-button.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-24 05:09:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-24 09:50:50 +0800
commit9692758dc5c3a03597f0eb0b16edd10134153823 (patch)
treeae48699ccfd792672b0b3c4e382fbc5ce13eb584 /mail/em-folder-selection-button.h
parent61d1530c76341f1a69fa528071e3a6ffa07ed333 (diff)
downloadgsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.tar
gsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.tar.gz
gsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.tar.bz2
gsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.tar.lz
gsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.tar.xz
gsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.tar.zst
gsoc2013-evolution-9692758dc5c3a03597f0eb0b16edd10134153823.zip
EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
Diffstat (limited to 'mail/em-folder-selection-button.h')
-rw-r--r--mail/em-folder-selection-button.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-folder-selection-button.h b/mail/em-folder-selection-button.h
index 504e17cddb..8b31100e84 100644
--- a/mail/em-folder-selection-button.h
+++ b/mail/em-folder-selection-button.h
@@ -25,7 +25,7 @@
#define EM_FOLDER_SELECTION_BUTTON_H
#include <gtk/gtk.h>
-#include <mail/e-mail-session.h>
+#include <mail/e-mail-backend.h>
/* Standard GObject macros */
#define EM_TYPE_FOLDER_SELECTION_BUTTON \
@@ -67,7 +67,7 @@ struct _EMFolderSelectionButtonClass {
GType em_folder_selection_button_get_type (void);
GtkWidget * em_folder_selection_button_new
- (EMailSession *session,
+ (EMailBackend *backend,
const gchar *title,
const gchar *caption);
const gchar * em_folder_selection_button_get_caption
@@ -80,10 +80,10 @@ const gchar * em_folder_selection_button_get_selection
void em_folder_selection_button_set_selection
(EMFolderSelectionButton *button,
const gchar *uri);
-void em_folder_selection_button_set_session
+void em_folder_selection_button_set_backend
(EMFolderSelectionButton *button,
- EMailSession *session);
-EMailSession * em_folder_selection_button_get_session
+ EMailBackend *backend);
+EMailBackend * em_folder_selection_button_get_backend
(EMFolderSelectionButton *button);
const gchar * em_folder_selection_button_get_title
(EMFolderSelectionButton *button);