summaryrefslogtreecommitdiff
path: root/eel/eel-glib-extensions.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-06 18:12:22 +0200
committerStefano Karapetsas <[email protected]>2013-10-06 18:12:22 +0200
commit3512eb9905039f0dad597d7591a45b7fa763d2d7 (patch)
tree94e3d2410952aac2658850ada916e52d00337675 /eel/eel-glib-extensions.h
parent70559a30ba34d71d0d9567457c3ec20de7d25fb7 (diff)
downloadcaja-3512eb9905039f0dad597d7591a45b7fa763d2d7.tar.bz2
caja-3512eb9905039f0dad597d7591a45b7fa763d2d7.tar.xz
Properly free GHashTable in properties window
Closes #178 https://github.com/mate-desktop/mate-file-manager/issues/178 I had to recover two functions previously removed in eel-glib-extensions.
Diffstat (limited to 'eel/eel-glib-extensions.h')
-rw-r--r--eel/eel-glib-extensions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/eel/eel-glib-extensions.h b/eel/eel-glib-extensions.h
index 907a1ec9..9c62c57f 100644
--- a/eel/eel-glib-extensions.h
+++ b/eel/eel-glib-extensions.h
@@ -54,6 +54,12 @@ GList * eel_g_list_partition (GList *
gpointer user_data,
GList **removed);
+/* List functions for lists of g_free'able objects. */
+void eel_g_list_free_deep (GList *list);
+void eel_g_list_free_deep_custom (GList *list,
+ GFunc element_free_func,
+ gpointer user_data);
+
/* List functions for lists of C strings. */
gboolean eel_g_str_list_equal (GList *str_list_a,
GList *str_list_b);