From: Matthew Barnes Date: Sat, 9 Feb 2013 13:45:23 +0000 (-0500) Subject: Deprecate e_cal_client_error_create(). X-Git-Tag: upstream/3.7.91~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10b3f64950febc61d320f44abdbd43e037789f87;p=platform%2Fupstream%2Fevolution-data-server.git Deprecate e_cal_client_error_create(). Just use the GError API directly. --- diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c index 096aa22..0a9879c 100644 --- a/calendar/libecal/e-cal-client.c +++ b/calendar/libecal/e-cal-client.c @@ -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, diff --git a/calendar/libecal/e-cal-client.h b/calendar/libecal/e-cal-client.h index 18ba439..4e70633 100644 --- a/calendar/libecal/e-cal-client.h +++ b/calendar/libecal/e-cal-client.h @@ -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 diff --git a/docs/reference/calendar/libecal/libecal-sections.txt b/docs/reference/calendar/libecal/libecal-sections.txt index 887c9e5..63f9920 100644 --- a/docs/reference/calendar/libecal/libecal-sections.txt +++ b/docs/reference/calendar/libecal/libecal-sections.txt @@ -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 e_cal_client_new +e_cal_client_error_create E_CAL_CLIENT E_IS_CAL_CLIENT