From: Matthew Barnes Date: Sun, 7 Oct 2012 15:40:31 +0000 (-0400) Subject: Rename e_book_backend_add_book_view(). X-Git-Tag: upstream/3.7.4~378 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc173d50077aab4f0e55e044c8b2b2f7c5d5dbc0;p=platform%2Fupstream%2Fevolution-data-server.git Rename e_book_backend_add_book_view(). Rename to e_book_backend_add_view() [cf. e_cal_backend_add_view()]. --- diff --git a/addressbook/libedata-book/e-book-backend.c b/addressbook/libedata-book/e-book-backend.c index eefded1..3ec93e0 100644 --- a/addressbook/libedata-book/e-book-backend.c +++ b/addressbook/libedata-book/e-book-backend.c @@ -730,15 +730,15 @@ e_book_backend_stop_view (EBookBackend *backend, } /** - * e_book_backend_add_book_view: + * e_book_backend_add_view: * @backend: an #EBookBackend * @view: an #EDataBookView * * Adds @view to @backend for querying. **/ void -e_book_backend_add_book_view (EBookBackend *backend, - EDataBookView *view) +e_book_backend_add_view (EBookBackend *backend, + EDataBookView *view) { g_return_if_fail (E_IS_BOOK_BACKEND (backend)); diff --git a/addressbook/libedata-book/e-book-backend.h b/addressbook/libedata-book/e-book-backend.h index 05ca167..a12f9f7 100644 --- a/addressbook/libedata-book/e-book-backend.h +++ b/addressbook/libedata-book/e-book-backend.h @@ -301,7 +301,7 @@ void e_book_backend_start_view (EBookBackend *backend, EDataBookView *view); void e_book_backend_stop_view (EBookBackend *backend, EDataBookView *view); -void e_book_backend_add_book_view (EBookBackend *backend, +void e_book_backend_add_view (EBookBackend *backend, EDataBookView *view); void e_book_backend_remove_book_view (EBookBackend *backend, EDataBookView *view); diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c index 29cd004..d474736 100644 --- a/addressbook/libedata-book/e-data-book.c +++ b/addressbook/libedata-book/e-data-book.c @@ -215,7 +215,7 @@ operation_thread (gpointer data, break; } - e_book_backend_add_book_view (backend, book_view); + e_book_backend_add_view (backend, book_view); e_gdbus_book_emit_get_view_done (op->book->priv->gdbus_object, op->id, NULL, path); diff --git a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt index f304f38..4c0696c 100644 --- a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt +++ b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt @@ -33,7 +33,7 @@ e_book_backend_get_contact_list e_book_backend_get_contact_list_uids e_book_backend_start_view e_book_backend_stop_view -e_book_backend_add_book_view +e_book_backend_add_view e_book_backend_remove_book_view e_book_backend_foreach_view e_book_backend_notify_update