[evolution-data-server] Deprecate e_data_cal_respond_set_backend_property().



commit b758168d13b25652bfb4f8ca1237d0cafe8604b5
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 26 09:44:39 2013 -0500

    Deprecate e_data_cal_respond_set_backend_property().
    
    No longer used.

 calendar/libedata-cal/e-data-cal.c                 |   14 +++-----------
 calendar/libedata-cal/e-data-cal.h                 |   11 +++++++----
 .../libedata-cal/libedata-cal-sections.txt         |    3 ++-
 3 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/calendar/libedata-cal/e-data-cal.c b/calendar/libedata-cal/e-data-cal.c
index 1c267ab..5a59ce7 100644
--- a/calendar/libedata-cal/e-data-cal.c
+++ b/calendar/libedata-cal/e-data-cal.c
@@ -1136,23 +1136,15 @@ e_data_cal_respond_get_backend_property (EDataCal *cal,
  * Notifies listeners of the completion of the set_backend_property method call.
  *
  * Since: 3.2
+ *
+ * Deprecated: 3.8: This function no longer does anything.
  */
 void
 e_data_cal_respond_set_backend_property (EDataCal *cal,
                                          guint32 opid,
                                          GError *error)
 {
-	g_return_if_fail (E_IS_DATA_CAL (cal));
-
-	op_complete (cal, opid);
-
-	/* Translators: This is prefix to a detailed error message */
-	g_prefix_error (&error, "%s", _("Cannot set backend property: "));
-
-	e_gdbus_cal_emit_set_backend_property_done (cal->priv->dbus_interface, opid, error);
-
-	if (error)
-		g_error_free (error);
+	/* Do nothing. */
 }
 
 /**
diff --git a/calendar/libedata-cal/e-data-cal.h b/calendar/libedata-cal/e-data-cal.h
index 0eb7956..ad9ff9d 100644
--- a/calendar/libedata-cal/e-data-cal.h
+++ b/calendar/libedata-cal/e-data-cal.h
@@ -188,10 +188,6 @@ void		e_data_cal_respond_get_backend_property
 						 guint32 opid,
 						 GError *error,
 						 const gchar *prop_value);
-void		e_data_cal_respond_set_backend_property
-						(EDataCal *cal,
-						 guint32 opid,
-						 GError *error);
 void		e_data_cal_respond_get_object	(EDataCal *cal,
 						 guint32 opid,
 						 GError *error,
@@ -269,6 +265,13 @@ void		e_data_cal_report_backend_property_changed
 						 const gchar *prop_name,
 						 const gchar *prop_value);
 
+#ifndef EDS_DISABLE_DEPRECATED
+void		e_data_cal_respond_set_backend_property
+						(EDataCal *cal,
+						 guint32 opid,
+						 GError *error);
+#endif /* EDS_DISABLE_DEPRECATED */
+
 G_END_DECLS
 
 #endif /* E_DATA_CAL_H */
diff --git a/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt b/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
index eb57340..374022d 100644
--- a/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
+++ b/docs/reference/calendar/libedata-cal/libedata-cal-sections.txt
@@ -248,7 +248,6 @@ e_data_cal_get_object_path
 e_data_cal_respond_open
 e_data_cal_respond_refresh
 e_data_cal_respond_get_backend_property
-e_data_cal_respond_set_backend_property
 e_data_cal_respond_get_object
 e_data_cal_respond_get_object_list
 e_data_cal_respond_get_free_busy
@@ -268,6 +267,8 @@ e_data_cal_report_online
 e_data_cal_report_opened
 e_data_cal_report_free_busy_data
 e_data_cal_report_backend_property_changed
+<SUBSECTION Deprecated>
+e_data_cal_respond_set_backend_property
 <SUBSECTION Standard>
 E_DATA_CAL
 E_IS_DATA_CAL



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]