Remove e_data_book_view_register_gdbus_object().
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 12 Oct 2012 18:39:40 +0000 (14:39 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 13 Oct 2012 12:39:56 +0000 (08:39 -0400)
commitb10547a3cb41fcfd3c6ba469049e39396e6e6baf
tree449981d51068f566ec406fd8a31d706d7580afbc
parent3693ed13e447a2a615e1709259102b5e1285d8ec
Remove e_data_book_view_register_gdbus_object().

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

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

This also introduces a couple accessor functions:

    e_data_book_view_get_connection()
    e_data_book_view_get_object_path()
addressbook/libedata-book/e-data-book-view.c
addressbook/libedata-book/e-data-book-view.h
addressbook/libedata-book/e-data-book.c
docs/reference/addressbook/libedata-book/libedata-book-sections.txt