diff options
author | yetist <xiaotian.wu@i-soft.com.cn> | 2018-11-16 23:00:17 +0800 |
---|---|---|
committer | lukefromdc <lukefromdc@hushmail.com> | 2018-11-17 03:52:03 +0000 |
commit | 6dbdc90b36b3397f88b0c1a42daf0bf3badf3c56 (patch) | |
tree | c3a57f76283ecbe1cf136860102afa5baa122847 /libcaja-private | |
parent | 74d2b198d975c6c14f80216e4e6d387c312579fd (diff) | |
download | caja-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.c | 1 |
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. */ |