diff options
author | rbuj <[email protected]> | 2019-03-05 08:17:55 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-03-29 15:51:25 +0100 |
commit | 26800580d62402e4b3390743205fefe2732ac394 (patch) | |
tree | cca685061aecaa60512bbb3872acf3ca7d3435b3 /eel | |
parent | 6b9bed243b886ba59033addf172c857048f074c2 (diff) | |
download | caja-26800580d62402e4b3390743205fefe2732ac394.tar.bz2 caja-26800580d62402e4b3390743205fefe2732ac394.tar.xz |
eel: remove g_object_list_copy
GNOME/nautilus@7af24a8
Replace
GList * eel_g_object_list_copy (GList *list)
with
g_list_copy_deep (list, (GCopyFunc) g_object_ref, NULL)
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-glib-extensions.c | 12 | ||||
-rw-r--r-- | eel/eel-glib-extensions.h | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/eel/eel-glib-extensions.c b/eel/eel-glib-extensions.c index 3d8ba1a5..a32c2bba 100644 --- a/eel/eel-glib-extensions.c +++ b/eel/eel-glib-extensions.c @@ -697,18 +697,6 @@ eel_g_object_list_ref (GList *list) } /** - * 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) -{ - return g_list_copy (eel_g_object_list_ref (list)); -} - -/** * eel_add_weak_pointer * * Nulls out a saved reference to an object when the object gets destroyed. diff --git a/eel/eel-glib-extensions.h b/eel/eel-glib-extensions.h index a8b45ff7..089bbe98 100644 --- a/eel/eel-glib-extensions.h +++ b/eel/eel-glib-extensions.h @@ -66,7 +66,6 @@ int eel_g_str_list_index (GList * /* List functions for lists of objects */ GList * eel_g_object_list_ref (GList *list); -GList * eel_g_object_list_copy (GList *list); /* GHashTable functions */ GHashTable *eel_g_hash_table_new_free_at_exit (GHashFunc hash_function, |