diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-13 04:05:35 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-15 22:43:40 +0800 |
commit | d545bdb78cc302db6f3b4bd82dc3570fd5561949 (patch) | |
tree | 039d870fe122981e706c58ec20effe9e756c65b4 /modules/vcard-inline | |
parent | 720b43ba4d86bbf2a2f4f4f6d3624bf87bd1cf69 (diff) | |
download | gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar.gz gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar.bz2 gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar.lz gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar.xz gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar.zst gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.zip |
Avoid deprecated libedataserver APIs.
I forgot to include this in 3.7.4, but no matter.
Diffstat (limited to 'modules/vcard-inline')
-rw-r--r-- | modules/vcard-inline/e-mail-parser-vcard-inline.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/vcard-inline/e-mail-parser-vcard-inline.c b/modules/vcard-inline/e-mail-parser-vcard-inline.c index 44032d4376..b871351d0a 100644 --- a/modules/vcard-inline/e-mail-parser-vcard-inline.c +++ b/modules/vcard-inline/e-mail-parser-vcard-inline.c @@ -127,7 +127,7 @@ client_loaded_cb (ESource *source, g_object_unref (client); exit: - e_client_util_free_object_slist (contact_list); + g_slist_free_full (contact_list, (GDestroyNotify) g_object_unref); } static void @@ -168,7 +168,9 @@ save_vcard_cb (WebKitDOMEventTarget *button, g_return_if_fail (source != NULL); - contact_list = e_client_util_copy_object_slist (NULL, vcard_part->contact_list); + contact_list = g_slist_copy_deep ( + vcard_part->contact_list, + (GCopyFunc) g_object_ref, NULL); e_client_utils_open_new ( source, E_CLIENT_SOURCE_TYPE_CONTACTS, |