From 6e142d59d7408e53ab1e579dba62517b6f59e307 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sat, 8 Oct 2016 16:00:16 -0400 Subject: Fix hashtable warnings on close As in Nautilus, use g_hash_table_new rather than eel_g_hash_table_new_free_at_exit --- eel/eel-string.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'eel/eel-string.c') 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); -- cgit v1.2.1