summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-03 14:32:54 +0200
committerraveit65 <[email protected]>2022-07-19 23:27:06 +0200
commit78b04ba42c5db504cefbc8746ac81a546bdf07fb (patch)
treed72b107342991276b4ebaa85a0572f54cf156533 /eel
parentbfc8cda3ad694bae39338a40a4f03bbf186535fa (diff)
downloadcaja-78b04ba42c5db504cefbc8746ac81a546bdf07fb.tar.bz2
caja-78b04ba42c5db504cefbc8746ac81a546bdf07fb.tar.xz
eel: remove eel_g_object_list_ref
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-glib-extensions.c13
-rw-r--r--eel/eel-glib-extensions.h3
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,