[gnome-builder] libide/core: force recache of key on change



commit 70bae4c2d08afa7ac00f14f7396e5317fc597e12
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 18 17:21:51 2022 -0700

    libide/core: force recache of key on change
    
    In case we don't get synchronous response from backend about underlying
    changes.

 src/libide/core/ide-layered-settings.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/core/ide-layered-settings.c b/src/libide/core/ide-layered-settings.c
index dd0eeda24..2a5c84ef2 100644
--- a/src/libide/core/ide-layered-settings.c
+++ b/src/libide/core/ide-layered-settings.c
@@ -336,6 +336,8 @@ ide_layered_settings_set_value (IdeLayeredSettings *self,
   g_return_if_fail (key != NULL);
 
   g_settings_set_value (ide_layered_settings_get_primary_settings (self), key, value);
+
+  ide_layered_settings_cache_key (self, key);
 }
 
 #define DEFINE_GETTER(name, ret_type, func, ...)                        \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]