[evolution-data-server] Deprecate e_data_book_respond_set_backend_property().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Deprecate e_data_book_respond_set_backend_property().
- Date: Sat, 26 Jan 2013 15:19:22 +0000 (UTC)
commit b2c28f51fde3892504fa916b9b4c9b8c641bf231
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jan 26 09:02:52 2013 -0500
Deprecate e_data_book_respond_set_backend_property().
No longer used.
addressbook/libedata-book/e-data-book.c | 14 +++-----------
addressbook/libedata-book/e-data-book.h | 11 +++++++----
.../libedata-book/libedata-book-sections.txt | 3 ++-
3 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index 228ac60..5518e2f 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -980,23 +980,15 @@ e_data_book_respond_get_backend_property (EDataBook *book,
* FIXME: Document me.
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: This function no longer does anything.
**/
void
e_data_book_respond_set_backend_property (EDataBook *book,
guint32 opid,
GError *error)
{
- g_return_if_fail (E_IS_DATA_BOOK (book));
-
- op_complete (book, opid);
-
- /* Translators: This is prefix to a detailed error message */
- g_prefix_error (&error, "%s", _("Cannot set backend property: "));
-
- e_gdbus_book_emit_set_backend_property_done (book->priv->dbus_interface, opid, error);
-
- if (error)
- g_error_free (error);
+ /* Do nothing. */
}
void
diff --git a/addressbook/libedata-book/e-data-book.h b/addressbook/libedata-book/e-data-book.h
index e0827b8..7ca9c20 100644
--- a/addressbook/libedata-book/e-data-book.h
+++ b/addressbook/libedata-book/e-data-book.h
@@ -163,10 +163,6 @@ void e_data_book_respond_get_backend_property
guint32 opid,
GError *error,
const gchar *prop_value);
-void e_data_book_respond_set_backend_property
- (EDataBook *book,
- guint32 opid,
- GError *error);
void e_data_book_respond_create_contacts
(EDataBook *book,
guint32 opid,
@@ -213,6 +209,13 @@ void e_data_book_report_backend_property_changed
gchar * e_data_book_string_slist_to_comma_string
(const GSList *strings);
+#ifndef EDS_DISABLE_DEPRECATED
+void e_data_book_respond_set_backend_property
+ (EDataBook *book,
+ guint32 opid,
+ GError *error);
+#endif /* EDS_DISABLE_DEPRECATED */
+
G_END_DECLS
#endif /* E_DATA_BOOK_H */
diff --git a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
index e607ef5..294d6e4 100644
--- a/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
+++ b/docs/reference/addressbook/libedata-book/libedata-book-sections.txt
@@ -273,7 +273,6 @@ e_data_book_get_object_path
e_data_book_respond_open
e_data_book_respond_refresh
e_data_book_respond_get_backend_property
-e_data_book_respond_set_backend_property
e_data_book_respond_create_contacts
e_data_book_respond_remove_contacts
e_data_book_respond_modify_contacts
@@ -286,6 +285,8 @@ e_data_book_report_online
e_data_book_report_opened
e_data_book_report_backend_property_changed
e_data_book_string_slist_to_comma_string
+<SUBSECTION Deprecated>
+e_data_book_respond_set_backend_property
<SUBSECTION Standard>
E_DATA_BOOK
E_IS_DATA_BOOK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]