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



commit ef212a837367a79402f1c894d13423f91bea4392
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 12 15:16:20 2013 -0500

    Deprecate e_util_copy_object_slist().
    
    Use g_slist_copy_deep() instead, and optionally g_slist_concat() to
    concatenate the copied list to another GSList.

 .../libedataserver/libedataserver-sections.txt     |    2 +-
 libedataserver/e-data-server-util.c                |    4 ++++
 libedataserver/e-data-server-util.h                |    3 ++-
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/libedataserver/libedataserver-sections.txt b/docs/reference/libedataserver/libedataserver-sections.txt
index f97d9a4..9e44415 100644
--- a/docs/reference/libedataserver/libedataserver-sections.txt
+++ b/docs/reference/libedataserver/libedataserver-sections.txt
@@ -1168,7 +1168,6 @@ e_utf8_strftime
 e_strftime
 e_util_slist_to_strv
 e_util_strv_to_slist
-e_util_copy_object_slist
 e_util_free_nullable_object_slist
 e_queue_transfer
 e_file_recursive_delete_sync
@@ -1203,6 +1202,7 @@ e_named_parameters_test
 e_util_free_string_slist
 e_util_free_object_slist
 e_util_copy_string_slist
+e_util_copy_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 07c0908..accb296 100644
--- a/libedataserver/e-data-server-util.c
+++ b/libedataserver/e-data-server-util.c
@@ -972,6 +972,10 @@ e_util_copy_string_slist (GSList *copy_to,
  * Returned pointer can be freed with e_util_free_object_slist().
  *
  * Since: 3.4
+ *
+ * Deprecated: 3.8: Use g_slist_copy_deep() instead, and optionally
+ *                  g_slist_concat() to concatenate the copied list
+ *                  to another #GSList.
  **/
 GSList *
 e_util_copy_object_slist (GSList *copy_to,
diff --git a/libedataserver/e-data-server-util.h b/libedataserver/e-data-server-util.h
index bb7b107..33d8132 100644
--- a/libedataserver/e-data-server-util.h
+++ b/libedataserver/e-data-server-util.h
@@ -73,7 +73,6 @@ gsize		e_strftime			(gchar *string,
 
 gchar **	e_util_slist_to_strv		(const GSList *strings);
 GSList *	e_util_strv_to_slist		(const gchar * const *strv);
-GSList *	e_util_copy_object_slist	(GSList *copy_to, const GSList *objects);
 void		e_util_free_nullable_object_slist
 						(GSList *objects);
 void		e_queue_transfer		(GQueue *src_queue,
@@ -167,6 +166,8 @@ void		e_util_free_string_slist	(GSList *strings);
 void		e_util_free_object_slist	(GSList *objects);
 GSList *	e_util_copy_string_slist	(GSList *copy_to,
 						 const GSList *strings);
+GSList *	e_util_copy_object_slist	(GSList *copy_to,
+						 const GSList *objects);
 #endif /* EDS_DISABLE_DEPRECATED */
 
 G_END_DECLS



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]