aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-folder-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-25 23:05:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-26 01:01:50 +0800
commitaded0858c49c3b729564a35427e3affb514fffb9 (patch)
treefe15021104e6d8203d89a566ef519acfe52d5c67 /libemail-engine/e-mail-folder-utils.c
parente7981244a68c9d0b6b93d8c2697569668098b647 (diff)
downloadgsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.gz
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.bz2
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.lz
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.xz
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.tar.zst
gsoc2013-evolution-aded0858c49c3b729564a35427e3affb514fffb9.zip
Prefer e_source_registry_check_enabled().
Prefer e_source_registry_check_enabled() over e_source_get_enabled() for most instances where we want to exclude disabled data sources.
Diffstat (limited to 'libemail-engine/e-mail-folder-utils.c')
-rw-r--r--libemail-engine/e-mail-folder-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libemail-engine/e-mail-folder-utils.c b/libemail-engine/e-mail-folder-utils.c
index 971a67257f..5f9ea6a4e5 100644
--- a/libemail-engine/e-mail-folder-utils.c
+++ b/libemail-engine/e-mail-folder-utils.c
@@ -306,7 +306,7 @@ mail_folder_expunge_pop3_stores (CamelFolder *folder,
extension = e_source_get_extension (source, extension_name);
backend_name = e_source_backend_get_backend_name (extension);
- if (!em_utils_is_source_enabled_with_parents (registry, source) ||
+ if (!e_source_registry_check_enabled (registry, source) ||
g_strcmp0 (backend_name, "pop") != 0)
continue;