diff options
Diffstat (limited to 'libnautilus-private/nautilus-directory-async.c')
-rw-r--r-- | libnautilus-private/nautilus-directory-async.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-directory-async.c b/libnautilus-private/nautilus-directory-async.c index 8290b8549..2d348d392 100644 --- a/libnautilus-private/nautilus-directory-async.c +++ b/libnautilus-private/nautilus-directory-async.c @@ -862,13 +862,12 @@ dequeue_pending_idle_callback (gpointer callback_data) nautilus_file_ref (file); changed_files = g_list_prepend (changed_files, file); } - nautilus_file_ref (file); } else { /* new file, create a nautilus file object and add it to the list */ file = nautilus_file_new_from_info (directory, file_info); nautilus_directory_add_file (directory, file); + added_files = g_list_prepend (added_files, file); } - added_files = g_list_prepend (added_files, file); } /* If we are done loading, then we assume that any unconfirmed |