[evolution-data-server] Deprecate e_cal_backend_respond_opened().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Deprecate e_cal_backend_respond_opened().
- Date: Tue, 29 Jan 2013 21:47:26 +0000 (UTC)
commit ce4cae2efba437ce2c476b1743577e3a505ba9db
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jan 29 16:24:49 2013 -0500
Deprecate e_cal_backend_respond_opened().
Use e_data_cal_respond_open() instead.
calendar/libedata-cal/e-cal-backend.c | 4 +++-
calendar/libedata-cal/e-cal-backend.h | 9 ++++-----
.../libedata-cal/libedata-cal-sections.txt | 2 +-
3 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/calendar/libedata-cal/e-cal-backend.c b/calendar/libedata-cal/e-cal-backend.c
index 6718458..6e06670 100644
--- a/calendar/libedata-cal/e-cal-backend.c
+++ b/calendar/libedata-cal/e-cal-backend.c
@@ -1169,7 +1169,7 @@ e_cal_backend_open (ECalBackend *backend,
e_data_cal_report_online (cal, online);
e_data_cal_report_readonly (cal, !writable);
- e_cal_backend_respond_opened (backend, cal, opid, NULL);
+ e_data_cal_respond_open (cal, opid, NULL);
} else {
g_mutex_unlock (&backend->priv->clients_mutex);
@@ -1987,6 +1987,8 @@ e_cal_backend_notify_property_changed (ECalBackend *backend,
* See e_cal_backend_open() for more details how the opening phase works.
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: Use e_data_book_respond_open() instead.
**/
void
e_cal_backend_respond_opened (ECalBackend *backend,
diff --git a/calendar/libedata-cal/e-cal-backend.h b/calendar/libedata-cal/e-cal-backend.h
index a315f29..507e08f 100644
--- a/calendar/libedata-cal/e-cal-backend.h
+++ b/calendar/libedata-cal/e-cal-backend.h
@@ -398,11 +398,6 @@ void e_cal_backend_empty_cache (ECalBackend *backend,
void e_cal_backend_set_is_removed (ECalBackend *backend,
gboolean is_removed);
-void e_cal_backend_respond_opened (ECalBackend *backend,
- EDataCal *cal,
- guint32 opid,
- GError *error);
-
#ifndef EDS_DISABLE_DEPRECATED
/**
* CLIENT_BACKEND_PROPERTY_OPENED:
@@ -442,6 +437,10 @@ void e_cal_backend_foreach_view (ECalBackend *backend,
gpointer user_data);
void e_cal_backend_notify_opened (ECalBackend *backend,
GError *error);
+void e_cal_backend_respond_opened (ECalBackend *backend,
+ EDataCal *cal,
+ guint32 opid,
+ GError *error);
#endif /* EDS_DISABLE_DEPRECATED */
G_END_DECLS
diff --git a/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt b/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
index e514fc8..28990ce 100644
--- a/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
+++ b/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
@@ -52,7 +52,6 @@ e_cal_backend_notify_online
e_cal_backend_notify_property_changed
e_cal_backend_empty_cache
e_cal_backend_set_is_removed
-e_cal_backend_respond_opened
<SUBSECTION Deprecated>
CLIENT_BACKEND_PROPERTY_OPENED
CLIENT_BACKEND_PROPERTY_OPENING
@@ -60,6 +59,7 @@ e_cal_backend_is_opening
e_cal_backend_set_backend_property
e_cal_backend_foreach_view
e_cal_backend_notify_opened
+e_cal_backend_respond_opened
<SUBSECTION Standard>
E_CAL_BACKEND
E_IS_CAL_BACKEND
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]