Remove e_data_book_register_gdbus_object().
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 7 Oct 2012 21:41:41 +0000 (17:41 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 7 Oct 2012 22:27:19 +0000 (18:27 -0400)
commit7de9b40977b2b0cb51bac643f130399670dd50a3
treeac24a4d7eb81638192c1b91b54f4892b083f9639
parent9c7834b5d40ddcddc69af86ea3f68da3409cd2e0
Remove e_data_book_register_gdbus_object().

The first thing we do after creating a new EDataBook is export its D-Bus
interface.  This was a separate and failable operation.  If the exporting
fails, the EDataBook is useless.  Perfect use case for GInitable.

Now we pass the GDBusConnection and object path directly to
e_data_book_new(), and if the exporting fails the function sets a GError
and returns NULL.

This also introduces a couple accessor functions:

    e_data_book_get_connection()
    e_data_book_get_object_path()
addressbook/libedata-book/e-data-book-factory.c
addressbook/libedata-book/e-data-book.c
addressbook/libedata-book/e-data-book.h
docs/reference/addressbook/libedata-book/libedata-book-sections.txt