diff options
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; } |