[evolution-data-server] Remove e_book_backend_is_removed().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove e_book_backend_is_removed().
- Date: Mon, 1 Apr 2013 12:38:35 +0000 (UTC)
commit 0eed533d83475dad7370af8e530d08566c678ea6
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Apr 1 08:26:12 2013 -0400
Remove e_book_backend_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 | 16 ----------------
addressbook/libedata-book/e-book-backend.h | 1 -
.../libedata-book/libedata-book-sections.txt | 1 -
3 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend.c b/addressbook/libedata-book/e-book-backend.c
index 9335bd2..c7a8aec 100644
--- a/addressbook/libedata-book/e-book-backend.c
+++ b/addressbook/libedata-book/e-book-backend.c
@@ -2581,22 +2581,6 @@ e_book_backend_is_readonly (EBookBackend *backend)
}
/**
- * e_book_backend_is_removed:
- * @backend: an #EBookBackend
- *
- * Checks if @backend has been removed from its physical storage.
- *
- * Returns: %TRUE if @backend has been removed, %FALSE otherwise.
- **/
-gboolean
-e_book_backend_is_removed (EBookBackend *backend)
-{
- g_return_val_if_fail (E_IS_BOOK_BACKEND (backend), FALSE);
-
- return backend->priv->removed;
-}
-
-/**
* e_book_backend_set_is_removed:
* @backend: an #EBookBackend
* @is_removed: A flag indicating whether the backend's storage was removed
diff --git a/addressbook/libedata-book/e-book-backend.h b/addressbook/libedata-book/e-book-backend.h
index be0de9e..f101655 100644
--- a/addressbook/libedata-book/e-book-backend.h
+++ b/addressbook/libedata-book/e-book-backend.h
@@ -186,7 +186,6 @@ void e_book_backend_set_writable (EBookBackend *backend,
gboolean e_book_backend_is_opened (EBookBackend *backend);
gboolean e_book_backend_is_readonly (EBookBackend *backend);
-gboolean e_book_backend_is_removed (EBookBackend *backend);
gchar * e_book_backend_get_backend_property_sync
(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 2d85efa..850cffc 100644
--- a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
+++ b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
@@ -15,7 +15,6 @@ e_book_backend_get_writable
e_book_backend_set_writable
e_book_backend_is_opened
e_book_backend_is_readonly
-e_book_backend_is_removed
e_book_backend_get_backend_property_sync
e_book_backend_get_backend_property
e_book_backend_get_backend_property_finish
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]