diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-10-25 23:05:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-10-26 01:01:50 +0800 |
commit | aded0858c49c3b729564a35427e3affb514fffb9 (patch) | |
tree | fe15021104e6d8203d89a566ef519acfe52d5c67 /mail/em-utils.c | |
parent | e7981244a68c9d0b6b93d8c2697569668098b647 (diff) | |
download | gsoc2013-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 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index f7f12e5755..80967f1f52 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -1424,7 +1424,8 @@ em_utils_empty_trash (GtkWidget *parent, source = e_source_registry_ref_source (registry, uid); if (source != NULL) { - enabled = e_source_get_enabled (source); + enabled = e_source_registry_check_enabled ( + registry, source); g_object_unref (source); } |