[evolution-data-server] Deprecate e_util_free_object_slist().



commit c482d9abb0e41a7641286c618d92f37093412093
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 12 14:37:46 2013 -0500

    Deprecate e_util_free_object_slist().
    
    Use g_slist_free_full() instead.

 .../libedataserver/libedataserver-sections.txt     |    2 +-
 libedataserver/e-data-server-util.c                |    2 ++
 libedataserver/e-data-server-util.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 96517f0..9e12903 100644
--- a/docs/reference/libedataserver/libedataserver-sections.txt
+++ b/docs/reference/libedataserver/libedataserver-sections.txt
@@ -1170,7 +1170,6 @@ e_util_slist_to_strv
 e_util_strv_to_slist
 e_util_copy_string_slist
 e_util_copy_object_slist
-e_util_free_object_slist
 e_util_free_nullable_object_slist
 e_queue_transfer
 e_file_recursive_delete_sync
@@ -1203,6 +1202,7 @@ e_named_parameters_to_strv
 e_named_parameters_test
 <SUBSECTION Deprecated>
 e_util_free_string_slist
+e_util_free_object_slist
 <SUBSECTION Standard>
 e_named_parameters_get_type
 </SECTION>
diff --git a/libedataserver/e-data-server-util.c b/libedataserver/e-data-server-util.c
index c4ceb49..da7dbcc 100644
--- a/libedataserver/e-data-server-util.c
+++ b/libedataserver/e-data-server-util.c
@@ -1005,6 +1005,8 @@ e_util_free_string_slist (GSList *strings)
  * also @objects itself.
  *
  * Since: 3.4
+ *
+ * Deprecated: 3.8: Use g_slist_free_full() instead.
  **/
 void
 e_util_free_object_slist (GSList *objects)
diff --git a/libedataserver/e-data-server-util.h b/libedataserver/e-data-server-util.h
index d1826c6..4212c9b 100644
--- a/libedataserver/e-data-server-util.h
+++ b/libedataserver/e-data-server-util.h
@@ -75,7 +75,6 @@ gchar **	e_util_slist_to_strv		(const GSList *strings);
 GSList *	e_util_strv_to_slist		(const gchar * const *strv);
 GSList *	e_util_copy_string_slist	(GSList *copy_to, const GSList *strings);
 GSList *	e_util_copy_object_slist	(GSList *copy_to, const GSList *objects);
-void		e_util_free_object_slist	(GSList *objects);
 void		e_util_free_nullable_object_slist
 						(GSList *objects);
 void		e_queue_transfer		(GQueue *src_queue,
@@ -166,6 +165,7 @@ gboolean	e_named_parameters_test		(const ENamedParameters *parameters,
 
 #ifndef EDS_DISABLE_DEPRECATED
 void		e_util_free_string_slist	(GSList *strings);
+void		e_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]