summaryrefslogtreecommitdiff
path: root/eel/eel-glib-extensions.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-10-23 16:13:58 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-10-23 16:13:58 -0400
commit7af24a892cbe8641c8e4bf3d4fa17067b3cc9389 (patch)
tree3dc010cdfa3bce0bd9ccbeb8652799c4481494e9 /eel/eel-glib-extensions.c
parentd5492dc611473afaaaffd0679f4aed01c427f27d (diff)
downloadnautilus-7af24a892cbe8641c8e4bf3d4fa17067b3cc9389.tar.gz
all: don't use eel_g_object_list_copy()
Use g_list_copy_deep() instead.
Diffstat (limited to 'eel/eel-glib-extensions.c')
-rw-r--r--eel/eel-glib-extensions.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/eel/eel-glib-extensions.c b/eel/eel-glib-extensions.c
index 8008172e7..f15cb49b5 100644
--- a/eel/eel-glib-extensions.c
+++ b/eel/eel-glib-extensions.c
@@ -237,19 +237,6 @@ eel_g_hash_table_safe_for_each (GHashTable *hash_table,
g_list_free (flattened.values);
}
-/**
- * eel_g_object_list_copy
- *
- * Copy the list of objects, ref'ing each one.
- * @list: GList of objects.
- **/
-GList *
-eel_g_object_list_copy (GList *list)
-{
- g_list_foreach (list, (GFunc) g_object_ref, NULL);
- return g_list_copy (list);
-}
-
#if !defined (EEL_OMIT_SELF_CHECK)
static gboolean