diff options
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r-- | mail/em-vfolder-rule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c index f2cc7cb57f..4d690115ac 100644 --- a/mail/em-vfolder-rule.c +++ b/mail/em-vfolder-rule.c @@ -34,10 +34,10 @@ #include "camel/camel-url.h" #include "em-vfolder-context.h" #include "em-vfolder-rule.h" +#include "mail/e-mail-store.h" #include "mail/em-utils.h" #include "mail/em-folder-tree.h" #include "mail/em-folder-selector.h" -#include "mail/mail-component.h" #include "e-util/e-error.h" #include "e-util/e-util-private.h" @@ -507,8 +507,8 @@ source_add(GtkWidget *widget, struct _source_data *data) EMFolderTree *emft; GtkWidget *dialog; - emft =(EMFolderTree *)em_folder_tree_new_with_model(mail_component_peek_tree_model(mail_component_peek())); - em_folder_tree_set_excluded(emft, EMFT_EXCLUDE_NOSELECT); + emft =(EMFolderTree *) em_folder_tree_new (); + em_folder_tree_set_excluded (emft, EMFT_EXCLUDE_NOSELECT); dialog = em_folder_selector_new(emft, EM_FOLDER_SELECTOR_CAN_CREATE, _("Select Folder"), NULL, _("_Add")); gtk_window_set_transient_for((GtkWindow *)dialog, (GtkWindow *)gtk_widget_get_toplevel(widget)); |