summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnautilus-private/nautilus-search-directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-search-directory.c b/libnautilus-private/nautilus-search-directory.c
index 551bd57a1..f1747d47e 100644
--- a/libnautilus-private/nautilus-search-directory.c
+++ b/libnautilus-private/nautilus-search-directory.c
@@ -533,7 +533,7 @@ search_engine_hits_added (NautilusSearchEngine *engine, GList *hits,
g_signal_connect (file, "changed", G_CALLBACK (file_changed), search),
file_list = g_list_prepend (file_list, file);
- g_hash_table_replace (search->details->files_hash, file, GINT_TO_POINTER (1));
+ g_hash_table_add (search->details->files_hash, file);
}
search->details->files = g_list_concat (search->details->files, file_list);