summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-search-directory.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-10-15 10:44:19 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-10-15 10:44:19 -0400
commit18bf5a4e09137f65d10cfe5448f19e4f183e1ad7 (patch)
treed8a1b14f3cfe3b24bd2613a530b761317861ffb0 /libnautilus-private/nautilus-search-directory.c
parent97b616d4f462571f8cce4d72a99478ddc89e5936 (diff)
downloadnautilus-18bf5a4e09137f65d10cfe5448f19e4f183e1ad7.tar.gz
search-directory: use g_hash_table_add()
Diffstat (limited to 'libnautilus-private/nautilus-search-directory.c')
-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);