Deprecate e_data_cal_respond_set_backend_property().
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 26 Jan 2013 14:44:39 +0000 (09:44 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 26 Jan 2013 14:54:57 +0000 (09:54 -0500)
No longer used.

calendar/libedata-cal/e-data-cal.c
calendar/libedata-cal/e-data-cal.h
docs/reference/calendar/libedata-cal/libedata-cal-sections.txt

index 1c267ab..5a59ce7 100644 (file)
@@ -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. */
 }
 
 /**
index 0eb7956..ad9ff9d 100644 (file)
@@ -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 */
index eb57340..374022d 100644 (file)
@@ -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