[evolution-data-server] Deprecate e_client_util_free_object_slist().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Deprecate e_client_util_free_object_slist().
- Date: Sat, 12 Jan 2013 20:24:16 +0000 (UTC)
commit ab96fce95bb0281717df1a54efe0ec56c9613f89
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jan 12 14:33:46 2013 -0500
Deprecate e_client_util_free_object_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 c38143f..db00ae1 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_object_slist
e_client_util_parse_comma_strings
EClientErrorsList
e_client_util_unwrap_dbus_error
@@ -87,6 +86,7 @@ e_client_util_strv_to_slist
e_client_util_copy_string_slist
e_client_util_copy_object_slist
e_client_util_free_string_slist
+e_client_util_free_object_slist
<SUBSECTION Standard>
E_CLIENT
E_IS_CLIENT
diff --git a/libedataserver/e-client.c b/libedataserver/e-client.c
index f7ec7a3..724e597 100644
--- a/libedataserver/e-client.c
+++ b/libedataserver/e-client.c
@@ -1701,6 +1701,8 @@ e_client_util_free_string_slist (GSList *strings)
* itself.
*
* Since: 3.2
+ *
+ * Deprecated: 3.8: Use g_slist_free_full() instead.
**/
void
e_client_util_free_object_slist (GSList *objects)
diff --git a/libedataserver/e-client.h b/libedataserver/e-client.h
index a0169d8..bde665c 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_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,
GSList * e_client_util_copy_object_slist (GSList *copy_to,
const GSList *objects);
void e_client_util_free_string_slist (GSList *strings);
+void e_client_util_free_object_slist (GSList *objects);
#endif /* EDS_DISABLE_DEPRECATED */
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]