summaryrefslogtreecommitdiff
path: root/eel/eel-string.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-10-08 16:00:16 -0400
committerraveit65 <[email protected]>2016-10-10 10:35:41 +0200
commit6e142d59d7408e53ab1e579dba62517b6f59e307 (patch)
tree890d2045335b2b1d9f383afd917d108cc472d0a1 /eel/eel-string.c
parentbe0f17ff55061ab43636449f4d15a89e418d1f3c (diff)
downloadcaja-6e142d59d7408e53ab1e579dba62517b6f59e307.tar.bz2
caja-6e142d59d7408e53ab1e579dba62517b6f59e307.tar.xz
Fix hashtable warnings on close
As in Nautilus, use g_hash_table_new rather than eel_g_hash_table_new_free_at_exit
Diffstat (limited to 'eel/eel-string.c')
-rw-r--r--eel/eel-string.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eel/eel-string.c b/eel/eel-string.c
index 61343eec..8ccbb03a 100644
--- a/eel/eel-string.c
+++ b/eel/eel-string.c
@@ -792,8 +792,7 @@ eel_ref_str_get_unique (const char *string)
if (unique_ref_strs == NULL)
{
unique_ref_strs =
- eel_g_hash_table_new_free_at_exit (g_str_hash, g_str_equal,
- "unique eel_ref_str");
+ g_hash_table_new(g_str_hash, g_str_equal);
}
res = g_hash_table_lookup (unique_ref_strs, string);