diff options
Diffstat (limited to 'mail/em-folder-selection.c')
-rw-r--r-- | mail/em-folder-selection.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c index d56a470153..ba63d19082 100644 --- a/mail/em-folder-selection.c +++ b/mail/em-folder-selection.c @@ -32,7 +32,8 @@ #include "em-folder-tree.h" #include "em-folder-selector.h" #include "em-folder-selection.h" -#include "mail-component.h" + +#include "e-mail-shell-backend.h" /* TODO: rmeove this file, it could just go on em-folder-selection or em-utils */ @@ -63,7 +64,7 @@ em_select_folder (GtkWindow *parent_window, const char *title, const char *oklab GtkWidget *dialog; EMFolderTree *emft; - model = mail_component_peek_tree_model (mail_component_peek ()); + model = e_mail_shell_backend_get_folder_tree_model (global_mail_shell_backend); emft = (EMFolderTree *) em_folder_tree_new_with_model (model); if (exclude) em_folder_tree_set_excluded_func(emft, exclude, user_data); |