[evolution-data-server] Deprecate e_client_open_sync().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Deprecate e_client_open_sync().
- Date: Wed, 30 Jan 2013 15:00:57 +0000 (UTC)
commit 1443d01e555d53e7ae715cbf8fc885fbace8a5d0
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jan 29 18:41:09 2013 -0500
Deprecate e_client_open_sync().
Use e_book_client_connect_sync() or e_cal_client_connect_sync() instead.
Also deprecate the asynchronous functions:
e_client_open()
e_client_open_finish()
.../libedataserver/libedataserver-sections.txt | 12 ++++----
libedataserver/e-client.c | 13 ++++++++++
libedataserver/e-client.h | 25 +++++++++----------
3 files changed, 31 insertions(+), 19 deletions(-)
---
diff --git a/docs/reference/libedataserver/libedataserver-sections.txt b/docs/reference/libedataserver/libedataserver-sections.txt
index 52013b5..70a5bcf 100644
--- a/docs/reference/libedataserver/libedataserver-sections.txt
+++ b/docs/reference/libedataserver/libedataserver-sections.txt
@@ -59,9 +59,6 @@ e_client_cancel_all
e_client_get_backend_property
e_client_get_backend_property_finish
e_client_get_backend_property_sync
-e_client_open
-e_client_open_finish
-e_client_open_sync
e_client_refresh
e_client_refresh_finish
e_client_refresh_sync
@@ -75,12 +72,15 @@ e_client_util_unwrap_dbus_error
CLIENT_BACKEND_PROPERTY_OPENED
CLIENT_BACKEND_PROPERTY_OPENING
e_client_is_opened
-e_client_remove
-e_client_remove_finish
-e_client_remove_sync
e_client_set_backend_property
e_client_set_backend_property_finish
e_client_set_backend_property_sync
+e_client_open
+e_client_open_finish
+e_client_open_sync
+e_client_remove
+e_client_remove_finish
+e_client_remove_sync
e_client_util_slist_to_strv
e_client_util_strv_to_slist
e_client_util_copy_string_slist
diff --git a/libedataserver/e-client.c b/libedataserver/e-client.c
index a69c8e2..d71595e 100644
--- a/libedataserver/e-client.c
+++ b/libedataserver/e-client.c
@@ -1591,6 +1591,11 @@ e_client_set_backend_property_sync (EClient *client,
* The call is finished by e_client_open_finish() from the @callback.
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: Use e_book_client_connect() and
+ * e_book_client_connect_finish() or
+ * e_cal_client_connect() and
+ * e_cal_client_connect_finish() instead.
**/
void
e_client_open (EClient *client,
@@ -1622,6 +1627,11 @@ e_client_open (EClient *client,
* Returns: %TRUE if successful, %FALSE otherwise.
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: Use e_book_client_connect() and
+ * e_book_client_connect_finish() or
+ * e_cal_client_connect() and
+ * e_cal_client_connect_finish() instead.
**/
gboolean
e_client_open_finish (EClient *client,
@@ -1657,6 +1667,9 @@ e_client_open_finish (EClient *client,
* Returns: %TRUE if successful, %FALSE otherwise.
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: Use e_book_client_connect_sync() or
+ * e_cal_client_connect_sync() instead.
**/
gboolean
e_client_open_sync (EClient *client,
diff --git a/libedataserver/e-client.h b/libedataserver/e-client.h
index 595d856..03c5d5d 100644
--- a/libedataserver/e-client.h
+++ b/libedataserver/e-client.h
@@ -312,19 +312,6 @@ gboolean e_client_get_backend_property_sync
GCancellable *cancellable,
GError **error);
-void e_client_open (EClient *client,
- gboolean only_if_exists,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean e_client_open_finish (EClient *client,
- GAsyncResult *result,
- GError **error);
-gboolean e_client_open_sync (EClient *client,
- gboolean only_if_exists,
- GCancellable *cancellable,
- GError **error);
-
void e_client_refresh (EClient *client,
GCancellable *cancellable,
GAsyncReadyCallback callback,
@@ -417,6 +404,18 @@ gboolean e_client_set_backend_property_sync
const gchar *prop_value,
GCancellable *cancellable,
GError **error);
+void e_client_open (EClient *client,
+ gboolean only_if_exists,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean e_client_open_finish (EClient *client,
+ GAsyncResult *result,
+ GError **error);
+gboolean e_client_open_sync (EClient *client,
+ gboolean only_if_exists,
+ GCancellable *cancellable,
+ GError **error);
void e_client_remove (EClient *client,
GCancellable *cancellable,
GAsyncReadyCallback callback,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]