summaryrefslogtreecommitdiff
path: root/eel/eel-lib-self-check-functions.h
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-12-08 14:28:35 +0100
committerCarlos Soriano <csoriano@gnome.org>2015-12-11 22:42:04 +0100
commit864c815479a25a2b99ca354ff20edf5804d46070 (patch)
tree6834bbc1cd2ec026919f563fe2ea1461bd77d7de /eel/eel-lib-self-check-functions.h
parent81c58a9c7ae2688ed7fff7f3400a698bbc4d1a00 (diff)
downloadnautilus-864c815479a25a2b99ca354ff20edf5804d46070.tar.gz
file: refactor eel-partition for better ownership management
Instead of a generic function to filter GLists, implement a simpler and clearer filter function for file lists, since it was the only use of that function. In this way the ownership of files and directories are clearer since it always returns a new allocated nautilus file list, and also it always uses nautilus_file_ref instead of the generic g_object_ref to match what we do everywhere else in nautilus, so it's not confusing when breaking at nautilus_file_ref/unref for ref counting debugging. This change fixes multiple leaks on nautilus files catched by valgrind.
Diffstat (limited to 'eel/eel-lib-self-check-functions.h')
-rw-r--r--eel/eel-lib-self-check-functions.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/eel/eel-lib-self-check-functions.h b/eel/eel-lib-self-check-functions.h
index ed9de8f4f..11386e8e6 100644
--- a/eel/eel-lib-self-check-functions.h
+++ b/eel/eel-lib-self-check-functions.h
@@ -37,7 +37,6 @@ void eel_run_lib_self_checks (void);
*/
#define EEL_LIB_FOR_EACH_SELF_CHECK_FUNCTION(macro) \
- macro (eel_self_check_glib_extensions) \
macro (eel_self_check_string) \
/* Add new self-check functions to the list above this line. */