Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dliang
nautilus
nautilus-343488-ref-file-list-upon-notification...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nautilus-343488-ref-file-list-upon-notification.diff of Package nautilus
Patch taken from http://bugzilla.gnome.org/show_bug.cgi?id=343488 Files can change while a notification for them is being emitted, so ref the list of files before actually emitting the notification. Fixes spurious crashes while browsing files on slow volumes or network mounts. --- nautilus/libnautilus-private/nautilus-directory.c 27 Sep 2006 16:02:32 -0000 1.260 +++ nautilus/libnautilus-private/nautilus-directory.c 17 Oct 2006 09:02:23 -0000 @@ -262,9 +262,10 @@ emit_change_signals_for_all_files (Nauti files = g_list_prepend (files, directory->details->as_file); } + nautilus_file_list_ref (files); nautilus_directory_emit_change_signals (directory, files); - g_list_free (files); + nautilus_file_list_free (files); } static void
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor