diff options
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-glib-extensions.c | 20 | ||||
-rw-r--r-- | eel/eel-glib-extensions.h | 1 |
2 files changed, 0 insertions, 21 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. diff --git a/eel/eel-glib-extensions.h b/eel/eel-glib-extensions.h index f50f80b9..a8b45ff7 100644 --- a/eel/eel-glib-extensions.h +++ b/eel/eel-glib-extensions.h @@ -60,7 +60,6 @@ void eel_g_list_free_deep (GList * /* List functions for lists of C strings. */ gboolean eel_g_str_list_equal (GList *str_list_a, GList *str_list_b); -GList * eel_g_str_list_copy (GList *str_list); GList * eel_g_str_list_alphabetize (GList *str_list); int eel_g_str_list_index (GList *str_list, const char *str); |