aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index e74b0d7dda..6223164d62 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -151,6 +151,7 @@ impl_requestCreateItem (PortableServer_Servant servant,
{
AddressbookComponent *addressbook_component = ADDRESSBOOK_COMPONENT (bonobo_object_from_servant (servant));
AddressbookComponentPrivate *priv;
+ EBook *book;
priv = addressbook_component->priv;
@@ -167,7 +168,8 @@ impl_requestCreateItem (PortableServer_Servant servant,
return;
}
- e_book_async_get_default_addressbook (book_loaded_cb, g_strdup (item_type_name));
+ book = e_book_new_default_addressbook (NULL);
+ e_book_async_open (book, FALSE, book_loaded_cb, g_strdup (item_type_name));
}
static void