aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-utils.c
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-06-14 19:01:57 +0800
committerDan Vrátil <dvratil@redhat.com>2012-06-14 19:01:57 +0800
commite439e17e2e14fc5a3a35924dddfdd4d8602c3d8c (patch)
treec8d693bcfd659383bbcb81dd414d805f8efc1c19 /libemail-engine/e-mail-utils.c
parenta83eda3085e9143143ed0b0e37f939774a5bd472 (diff)
downloadgsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.tar
gsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.tar.gz
gsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.tar.bz2
gsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.tar.lz
gsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.tar.xz
gsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.tar.zst
gsoc2013-evolution-e439e17e2e14fc5a3a35924dddfdd4d8602c3d8c.zip
Make em_utils_in_addressbook() cancellable
Diffstat (limited to 'libemail-engine/e-mail-utils.c')
-rw-r--r--libemail-engine/e-mail-utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libemail-engine/e-mail-utils.c b/libemail-engine/e-mail-utils.c
index 7fca5eb306..964de9810f 100644
--- a/libemail-engine/e-mail-utils.c
+++ b/libemail-engine/e-mail-utils.c
@@ -600,7 +600,8 @@ search_address_in_addressbooks (ESourceRegistry *registry,
gboolean
em_utils_in_addressbook (ESourceRegistry *registry,
CamelInternetAddress *iaddr,
- gboolean local_only)
+ gboolean local_only,
+ GCancellable *cancellable)
{
const gchar *addr;
@@ -611,7 +612,7 @@ em_utils_in_addressbook (ESourceRegistry *registry,
return FALSE;
return search_address_in_addressbooks (
- registry, addr, local_only, NULL, NULL, NULL);
+ registry, addr, local_only, NULL, NULL, cancellable);
}
static gboolean