nautilus/filesystem-id-cmp.patch
2008-09-21 04:38:24 +00:00

13 lines
804 B
Diff

diff -up nautilus-2.23.92/libnautilus-private/nautilus-file.c.filesystem-id-cmp nautilus-2.23.92/libnautilus-private/nautilus-file.c
--- nautilus-2.23.92/libnautilus-private/nautilus-file.c.filesystem-id-cmp 2008-09-20 20:52:38.000000000 -0400
+++ nautilus-2.23.92/libnautilus-private/nautilus-file.c 2008-09-20 20:53:20.000000000 -0400
@@ -1836,7 +1836,7 @@ update_info_internal (NautilusFile *file
}
filesystem_id = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_ID_FILESYSTEM);
- if (eel_strcmp (file->details->filesystem_id, filesystem_id) != 0) {
+ if (eel_strcmp (eel_ref_str_peek (file->details->filesystem_id), filesystem_id) != 0) {
changed = TRUE;
eel_ref_str_unref (file->details->filesystem_id);
file->details->filesystem_id = eel_ref_str_get_unique (filesystem_id);