summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-11-16 23:00:17 +0800
committerlukefromdc <[email protected]>2018-11-17 03:52:03 +0000
commit6dbdc90b36b3397f88b0c1a42daf0bf3badf3c56 (patch)
treec3a57f76283ecbe1cf136860102afa5baa122847 /libcaja-private
parent74d2b198d975c6c14f80216e4e6d387c312579fd (diff)
downloadcaja-6dbdc90b36b3397f88b0c1a42daf0bf3badf3c56.tar.bz2
caja-6dbdc90b36b3397f88b0c1a42daf0bf3badf3c56.tar.xz
GSettings should init beforce use it.
Fixed running caja_self_check_directory failed.
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-directory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c
index a875940c..1811a549 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -279,6 +279,7 @@ caja_directory_get_internal (GFile *location, gboolean create)
/* Create the hash table first time through. */
if (directories == NULL) {
directories = g_hash_table_new (g_file_hash, (GCompareFunc) g_file_equal);
+ caja_global_preferences_init ();
}
/* If the object is already in the hash table, look it up. */