diff options
author | lukefromdc <[email protected]> | 2016-10-08 16:00:16 -0400 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-22 12:49:40 +0300 |
commit | e3d3a9a989d36f3e646adf1cc5125af831ea28f2 (patch) | |
tree | 9b9649439d10ea1264ea0513e854fd19567b994c /eel | |
parent | 6b020640202f9e14af14845e54b8f3a74e941bf0 (diff) | |
download | caja-e3d3a9a989d36f3e646adf1cc5125af831ea28f2.tar.bz2 caja-e3d3a9a989d36f3e646adf1cc5125af831ea28f2.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')
-rw-r--r-- | eel/eel-string.c | 3 |
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); |