aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/importers')
-rw-r--r--addressbook/importers/evolution-ldif-importer.c4
-rw-r--r--addressbook/importers/evolution-vcard-importer.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c
index e82fd02074..e756f6adff 100644
--- a/addressbook/importers/evolution-ldif-importer.c
+++ b/addressbook/importers/evolution-ldif-importer.c
@@ -574,12 +574,12 @@ load_file_fn (EvolutionImporter *importer,
gci->ready = FALSE;
/* Load the book and the cards */
- gci->book = e_book_new ();
+ gci->book = e_book_new (gci->primary, NULL);
if (!gci->book) {
g_message (G_STRLOC ":Couldn't create EBook.");
return FALSE;
}
- e_book_load_source (gci->book, gci->primary, TRUE, NULL);
+ e_book_open (gci->book, TRUE, NULL);
gci->contactlist = create_contacts_from_ldif (filename);
gci->ready = TRUE;
diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c
index f457cefafc..5719dce51c 100644
--- a/addressbook/importers/evolution-vcard-importer.c
+++ b/addressbook/importers/evolution-vcard-importer.c
@@ -277,12 +277,12 @@ load_file_fn (EvolutionImporter *importer,
gci->ready = FALSE;
/* Load the book */
- gci->book = e_book_new ();
+ gci->book = e_book_new (gci->primary, NULL);
if (!gci->book) {
g_message (G_STRLOC ":Couldn't create EBook.");
return FALSE;
}
- e_book_load_source (gci->book, gci->primary, TRUE, NULL);
+ e_book_open (gci->book, TRUE, NULL);
/* Load the file and the contacts */
if (!g_file_get_contents (filename, &contents, NULL, NULL)) {