summaryrefslogtreecommitdiff
path: root/eel/eel-glib-extensions.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-05 07:43:13 +0100
committerVictor Kareh <[email protected]>2019-03-07 10:41:44 -0500
commit33adc930ad133b0d169edbf619c3692da47f9c2f (patch)
tree6d0e99875398bd401d4ae4fdb49c4a3eb199da17 /eel/eel-glib-extensions.c
parent808318f42f097349a0e0b6d45b0e075e5b920f19 (diff)
downloadcaja-33adc930ad133b0d169edbf619c3692da47f9c2f.tar.bz2
caja-33adc930ad133b0d169edbf619c3692da47f9c2f.tar.xz
eel: remove g_str_list_copy
GNOME/nautilus@61e2aff Replace eel_g_str_list_copy(Glist *list) with g_list_copy_deep (list, (GCopyFunc) g_strdup, NULL)
Diffstat (limited to 'eel/eel-glib-extensions.c')
-rw-r--r--eel/eel-glib-extensions.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/eel/eel-glib-extensions.c b/eel/eel-glib-extensions.c
index 189536c6..3d8ba1a5 100644
--- a/eel/eel-glib-extensions.c
+++ b/eel/eel-glib-extensions.c
@@ -325,26 +325,6 @@ eel_g_str_list_equal (GList *list_a, GList *list_b)
}
/**
- * eel_g_str_list_copy
- *
- * @list: List of strings and/or NULLs to copy.
- * Return value: Deep copy of @list.
- **/
-GList *
-eel_g_str_list_copy (GList *list)
-{
- GList *node, *result;
-
- result = NULL;
-
- for (node = g_list_last (list); node != NULL; node = node->prev)
- {
- result = g_list_prepend (result, g_strdup (node->data));
- }
- return result;
-}
-
-/**
* eel_g_str_list_alphabetize
*
* Sort a list of strings using locale-sensitive rules.