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 /addressbook/importers | |
parent | 720b43ba4d86bbf2a2f4f4f6d3624bf87bd1cf69 (diff) | |
download | gsoc2013-evolution-d545bdb78cc302db6f3b4bd82dc3570fd5561949.tar.gz 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')
-rw-r--r-- | addressbook/importers/evolution-csv-importer.c | 2 | ||||
-rw-r--r-- | addressbook/importers/evolution-ldif-importer.c | 2 | ||||
-rw-r--r-- | addressbook/importers/evolution-vcard-importer.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c index b32f8e1b7b..9a850e695c 100644 --- a/addressbook/importers/evolution-csv-importer.c +++ b/addressbook/importers/evolution-csv-importer.c @@ -1012,7 +1012,7 @@ csv_get_preview (EImport *ei, contacts = g_slist_reverse (contacts); preview = evolution_contact_importer_get_preview_widget (contacts); - e_client_util_free_object_slist (contacts); + g_slist_free_full (contacts, (GDestroyNotify) g_object_unref); fclose (file); g_free (gci); diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c index db2bfbf27d..e50ef48261 100644 --- a/addressbook/importers/evolution-ldif-importer.c +++ b/addressbook/importers/evolution-ldif-importer.c @@ -782,7 +782,7 @@ ldif_get_preview (EImport *ei, contacts = g_slist_reverse (contacts); preview = evolution_contact_importer_get_preview_widget (contacts); - e_client_util_free_object_slist (contacts); + g_slist_free_full (contacts, (GDestroyNotify) g_object_unref); fclose (file); return preview; 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; } |