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 /modules | |
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 'modules')
-rw-r--r-- | modules/itip-formatter/itip-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/itip-formatter/itip-view.c b/modules/itip-formatter/itip-view.c index 7e91f3444d..0b2565cd93 100644 --- a/modules/itip-formatter/itip-view.c +++ b/modules/itip-formatter/itip-view.c @@ -3265,7 +3265,7 @@ find_to_address (EMailPartItip *itip_part, const gchar *address; gchar *text; - if (!e_source_get_enabled (source)) + if (!e_source_registry_check_enabled (registry, source)) continue; extension = e_source_get_extension (source, extension_name); @@ -3326,7 +3326,7 @@ find_to_address (EMailPartItip *itip_part, const gchar *address; gchar *text; - if (!e_source_get_enabled (source)) + if (!e_source_registry_check_enabled (registry, source)) continue; extension = e_source_get_extension (source, extension_name); @@ -3415,7 +3415,7 @@ find_from_address (EMailPartItip *pitip, ESourceMailIdentity *extension; const gchar *address; - if (!e_source_get_enabled (source)) + if (!e_source_registry_check_enabled (pitip->registry, source)) continue; extension = e_source_get_extension (source, extension_name); |