Deprecate e_client_util_free_string_slist().
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 12 Jan 2013 19:32:33 +0000 (14:32 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 12 Jan 2013 19:32:33 +0000 (14:32 -0500)
Use g_slist_free_full() instead.

docs/reference/libedataserver/libedataserver-sections.txt
libedataserver/e-client.c
libedataserver/e-client.h

index 14a3e8e..c38143f 100644 (file)
@@ -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
index a667c75..f7ec7a3 100644 (file)
@@ -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)
index 5823194..a0169d8 100644 (file)
@@ -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