aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers/evolution-vcard-importer.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-13 04:05:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-15 22:43:40 +0800
commitd545bdb78cc302db6f3b4bd82dc3570fd5561949 (patch)
tree039d870fe122981e706c58ec20effe9e756c65b4 /addressbook/importers/evolution-vcard-importer.c
parent720b43ba4d86bbf2a2f4f4f6d3624bf87bd1cf69 (diff)
downloadgsoc2013-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 'addressbook/importers/evolution-vcard-importer.c')
-rw-r--r--addressbook/importers/evolution-vcard-importer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c
index 5129754501..fd5984135e 100644
--- a/addressbook/importers/evolution-vcard-importer.c
+++ b/addressbook/importers/evolution-vcard-importer.c
@@ -483,7 +483,7 @@ vcard_import_done (VCardImporter *gci)
g_free (gci->contents);
g_object_unref (gci->book_client);
- e_client_util_free_object_slist (gci->contactlist);
+ g_slist_free_full (gci->contactlist, (GDestroyNotify) g_object_unref);
e_import_complete (gci->import, gci->target);
g_object_unref (gci->import);
@@ -646,7 +646,7 @@ vcard_get_preview (EImport *ei,
preview = evolution_contact_importer_get_preview_widget (contacts);
- e_client_util_free_object_slist (contacts);
+ g_slist_free_full (contacts, (GDestroyNotify) g_object_unref);
return preview;
}