EDataBook: Fix e_data_book_new_direct()
authorTristan Van Berkom <tristanvb@openismus.com>
Thu, 21 Feb 2013 11:14:49 +0000 (20:14 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Thu, 21 Feb 2013 11:21:07 +0000 (20:21 +0900)
commit2dfbaff8e96ae31efde08b68af125aedb7bdc2a8
treedc16d67c8dbb7752a960979a0b8b021de9744376
parentb4b1f01fda122ecbb7a2f33548fd03ab3bad05a1
EDataBook: Fix e_data_book_new_direct()

Since recent backends in master open thier persistance at initable_init()
time, it became necessary to splitup g_initable_new() into g_object_new()
and g_initable_init(), calling e_book_backend_configure_direct() in between.

Note: this fixes Direct Read Access where the XDG directories might not
be the same in the server context as in the client context.
addressbook/libedata-book/e-data-book.c