diff options
author | rbuj <[email protected]> | 2019-04-03 14:32:54 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-04-12 02:44:00 +0000 |
commit | f7c7f7f6bc7dbcf0bc25c158a278710e8a0c5dfe (patch) | |
tree | a633ca4e71f26d62290564bcafd021230acfaf44 /eel | |
parent | 203399fc4969ea512c96592ec6a22218015f4fbd (diff) | |
download | caja-f7c7f7f6bc7dbcf0bc25c158a278710e8a0c5dfe.tar.bz2 caja-f7c7f7f6bc7dbcf0bc25c158a278710e8a0c5dfe.tar.xz |
eel: remove eel_g_object_list_ref
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-glib-extensions.c | 13 | ||||
-rw-r--r-- | eel/eel-glib-extensions.h | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/eel/eel-glib-extensions.c b/eel/eel-glib-extensions.c index a32c2bba..5fd24055 100644 --- a/eel/eel-glib-extensions.c +++ b/eel/eel-glib-extensions.c @@ -684,19 +684,6 @@ eel_round (double d) } /** - * eel_g_object_list_ref - * - * Ref all the objects in a list. - * @list: GList of objects. - **/ -GList * -eel_g_object_list_ref (GList *list) -{ - g_list_foreach (list, (GFunc) g_object_ref, NULL); - return 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 089bbe98..a7f376b9 100644 --- a/eel/eel-glib-extensions.h +++ b/eel/eel-glib-extensions.h @@ -64,9 +64,6 @@ GList * eel_g_str_list_alphabetize (GList * int eel_g_str_list_index (GList *str_list, const char *str); -/* List functions for lists of objects */ -GList * eel_g_object_list_ref (GList *list); - /* GHashTable functions */ GHashTable *eel_g_hash_table_new_free_at_exit (GHashFunc hash_function, GCompareFunc key_compare_function, |