Deprecate e_cal_client_error_create().
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 9 Feb 2013 13:45:23 +0000 (08:45 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 9 Feb 2013 13:45:23 +0000 (08:45 -0500)
Just use the GError API directly.

calendar/libecal/e-cal-client.c
calendar/libecal/e-cal-client.h
docs/reference/calendar/libecal/libecal-sections.txt

index 096aa22..0a9879c 100644 (file)
@@ -281,6 +281,8 @@ e_cal_client_error_to_string (ECalClientError code)
  * Returned pointer should be freed with g_error_free().
  *
  * Since: 3.2
+ *
+ * Deprecated: 3.8: Just use the #GError API directly.
  **/
 GError *
 e_cal_client_error_create (ECalClientError code,
index 18ba439..4e70633 100644 (file)
@@ -135,8 +135,6 @@ struct _ECalClientClass {
 
 GQuark         e_cal_client_error_quark        (void) G_GNUC_CONST;
 const gchar *  e_cal_client_error_to_string    (ECalClientError code);
-GError *       e_cal_client_error_create       (ECalClientError code,
-                                                const gchar *custom_msg);
 
 GType          e_cal_client_get_type           (void) G_GNUC_CONST;
 EClient *      e_cal_client_connect_sync       (ESource *source,
@@ -514,6 +512,8 @@ gboolean    e_cal_client_add_timezone_sync  (ECalClient *client,
 ECalClient *   e_cal_client_new                (ESource *source,
                                                 ECalClientSourceType source_type,
                                                 GError **error);
+GError *       e_cal_client_error_create       (ECalClientError code,
+                                                const gchar *custom_msg);
 #endif /* E_CAL_DISABLE_DEPRECATED */
 
 G_END_DECLS
index 887c9e5..63f9920 100644 (file)
@@ -98,7 +98,6 @@ ECalClientSourceType
 E_CAL_CLIENT_ERROR
 ECalClientError
 e_cal_client_error_to_string
-e_cal_client_error_create
 e_cal_client_connect_sync
 e_cal_client_connect
 e_cal_client_connect_finish
@@ -179,6 +178,7 @@ e_cal_client_add_timezone_finish
 e_cal_client_add_timezone_sync
 <SUBSECTION Deprecated>
 e_cal_client_new
+e_cal_client_error_create
 <SUBSECTION Standard>
 E_CAL_CLIENT
 E_IS_CAL_CLIENT