aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers/evolution-vcard-importer.c
diff options
context:
space:
mode:
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 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)) {