summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-directory.c')
-rw-r--r--libcaja-private/caja-directory.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c
index fcadc2c8..e9292e3b 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -357,11 +357,8 @@ caja_directory_get_internal (GFile *location, gboolean create)
CajaDirectory *directory;
/* Create the hash table first time through. */
- if (directories == NULL)
- {
- directories = eel_g_hash_table_new_free_at_exit
- (g_file_hash, (GCompareFunc)g_file_equal, "caja-directory.c: directories");
-
+ if (directories == NULL) {
+ directories = g_hash_table_new (g_file_hash, (GCompareFunc) g_file_equal);
add_preferences_callbacks ();
}