• Carlos Soriano Sánchez's avatar
    file: refactor eel-partition for better ownership management · 864c8154
    Carlos Soriano Sánchez authored
    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.
    864c8154
Name
Last commit
Last update
..
Makefile.am Loading commit data...
README Loading commit data...
README.canvas Loading commit data...
check-eel Loading commit data...
check-program.c Loading commit data...
eel-accessibility.c Loading commit data...
eel-accessibility.h Loading commit data...
eel-art-extensions.c Loading commit data...
eel-art-extensions.h Loading commit data...
eel-canvas.c Loading commit data...
eel-canvas.h Loading commit data...
eel-debug.c Loading commit data...
eel-debug.h Loading commit data...
eel-gdk-extensions.c Loading commit data...
eel-gdk-extensions.h Loading commit data...
eel-glib-extensions.c Loading commit data...
eel-glib-extensions.h Loading commit data...
eel-gnome-extensions.c Loading commit data...
eel-gnome-extensions.h Loading commit data...
eel-graphic-effects.c Loading commit data...
eel-graphic-effects.h Loading commit data...
eel-gtk-extensions.c Loading commit data...
eel-gtk-extensions.h Loading commit data...
eel-lib-self-check-functions.c Loading commit data...
eel-lib-self-check-functions.h Loading commit data...
eel-self-checks.c Loading commit data...
eel-self-checks.h Loading commit data...
eel-stock-dialogs.c Loading commit data...
eel-stock-dialogs.h Loading commit data...
eel-string.c Loading commit data...
eel-string.h Loading commit data...
eel-vfs-extensions.c Loading commit data...
eel-vfs-extensions.h Loading commit data...
eel.h Loading commit data...