diff options
Diffstat (limited to 'mail/em-folder-utils.c')
-rw-r--r-- | mail/em-folder-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c index cf805f3b27..2838e829bd 100644 --- a/mail/em-folder-utils.c +++ b/mail/em-folder-utils.c @@ -448,7 +448,7 @@ em_folder_utils_delete_folder (CamelFolder *folder) return; } - if (mail_folder_cache_get_folder_info_flags (folder, &flags) && (flags & CAMEL_FOLDER_SYSTEM)) + if (mail_folder_cache_get_folder_info_flags (mail_folder_cache_get_default (), folder, &flags) && (flags & CAMEL_FOLDER_SYSTEM)) { e_alert_run_dialog_for_args (parent,"mail:no-delete-special-folder", folder->name, NULL); return; |