[evolution-data-server] Deprecate e_client_util_free_string_slist().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Deprecate e_client_util_free_string_slist().
- Date: Sat, 12 Jan 2013 20:24:11 +0000 (UTC)
commit 1daa7cb2807474dcbab1f16b030e805a34d43a90
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jan 12 14:32:33 2013 -0500
Deprecate e_client_util_free_string_slist().
Use g_slist_free_full() instead.
.../libedataserver/libedataserver-sections.txt | 2 +-
libedataserver/e-client.c | 2 ++
libedataserver/e-client.h | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/libedataserver/libedataserver-sections.txt b/docs/reference/libedataserver/libedataserver-sections.txt
index 14a3e8e..c38143f 100644
--- a/docs/reference/libedataserver/libedataserver-sections.txt
+++ b/docs/reference/libedataserver/libedataserver-sections.txt
@@ -74,7 +74,6 @@ e_client_refresh_sync
e_client_retrieve_capabilities
e_client_retrieve_capabilities_finish
e_client_retrieve_capabilities_sync
-e_client_util_free_string_slist
e_client_util_free_object_slist
e_client_util_parse_comma_strings
EClientErrorsList
@@ -87,6 +86,7 @@ e_client_util_slist_to_strv
e_client_util_strv_to_slist
e_client_util_copy_string_slist
e_client_util_copy_object_slist
+e_client_util_free_string_slist
<SUBSECTION Standard>
E_CLIENT
E_IS_CLIENT
diff --git a/libedataserver/e-client.c b/libedataserver/e-client.c
index a667c75..f7ec7a3 100644
--- a/libedataserver/e-client.c
+++ b/libedataserver/e-client.c
@@ -1684,6 +1684,8 @@ e_client_util_copy_object_slist (GSList *copy_to,
* Frees memory previously allocated by e_client_util_strv_to_slist().
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: Use g_slist_free_full() instead.
**/
void
e_client_util_free_string_slist (GSList *strings)
diff --git a/libedataserver/e-client.h b/libedataserver/e-client.h
index 5823194..a0169d8 100644
--- a/libedataserver/e-client.h
+++ b/libedataserver/e-client.h
@@ -387,7 +387,6 @@ gboolean e_client_retrieve_capabilities_sync
GCancellable *cancellable,
GError **error);
-void e_client_util_free_string_slist (GSList *strings);
void e_client_util_free_object_slist (GSList *objects);
GSList * e_client_util_parse_comma_strings
(const gchar *strings);
@@ -428,6 +427,7 @@ GSList * e_client_util_copy_string_slist (GSList *copy_to,
const GSList *strings);
GSList * e_client_util_copy_object_slist (GSList *copy_to,
const GSList *objects);
+void e_client_util_free_string_slist (GSList *strings);
#endif /* EDS_DISABLE_DEPRECATED */
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]