[evolution-data-server] Remove e_book_backend_set_is_removed().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove e_book_backend_set_is_removed().
- Date: Mon, 1 Apr 2013 12:38:40 +0000 (UTC)
commit e062e774eb3deac3b1bb7dd96a0f6afeadeef5c2
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Apr 1 08:31:24 2013 -0400
Remove e_book_backend_set_is_removed().
Not used by any current backend implementations, and I can't even make
sense of the documentation for it.
addressbook/libedata-book/e-book-backend.c | 18 ------------------
addressbook/libedata-book/e-book-backend.h | 4 ----
.../libedata-book/libedata-book-sections.txt | 1 -
3 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend.c b/addressbook/libedata-book/e-book-backend.c
index c7a8aec..1f64bf6 100644
--- a/addressbook/libedata-book/e-book-backend.c
+++ b/addressbook/libedata-book/e-book-backend.c
@@ -35,7 +35,6 @@ struct _EBookBackendPrivate {
ESourceRegistry *registry;
EDataBook *data_book;
- gboolean removed;
gboolean writable;
GMutex views_mutex;
@@ -2581,23 +2580,6 @@ e_book_backend_is_readonly (EBookBackend *backend)
}
/**
- * e_book_backend_set_is_removed:
- * @backend: an #EBookBackend
- * @is_removed: A flag indicating whether the backend's storage was removed
- *
- * Sets the flag indicating whether @backend was removed to @is_removed.
- * Meant to be used by backend implementations.
- **/
-void
-e_book_backend_set_is_removed (EBookBackend *backend,
- gboolean is_removed)
-{
- g_return_if_fail (E_IS_BOOK_BACKEND (backend));
-
- backend->priv->removed = is_removed;
-}
-
-/**
* e_book_backend_get_direct_book:
* @backend: an #EBookBackend
*
diff --git a/addressbook/libedata-book/e-book-backend.h b/addressbook/libedata-book/e-book-backend.h
index f101655..d6107fc 100644
--- a/addressbook/libedata-book/e-book-backend.h
+++ b/addressbook/libedata-book/e-book-backend.h
@@ -343,10 +343,6 @@ void e_book_backend_configure_direct (EBookBackend *backend,
void e_book_backend_sync (EBookBackend *backend);
-/* protected functions for subclasses */
-void e_book_backend_set_is_removed (EBookBackend *backend,
- gboolean is_removed);
-
GSimpleAsyncResult *
e_book_backend_prepare_for_completion
(EBookBackend *backend,
diff --git a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
index 850cffc..153df5f 100644
--- a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
+++ b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
@@ -53,7 +53,6 @@ e_book_backend_notify_complete
e_book_backend_notify_error
e_book_backend_notify_property_changed
e_book_backend_sync
-e_book_backend_set_is_removed
e_book_backend_get_direct_book
e_book_backend_configure_direct
<SUBSECTION Standard>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]