summaryrefslogtreecommitdiffstats
path: root/source/xfce/xfconf/03f7ff961fd46c9141aba624a278e19de0bf3211.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/xfce/xfconf/03f7ff961fd46c9141aba624a278e19de0bf3211.patch')
-rw-r--r--source/xfce/xfconf/03f7ff961fd46c9141aba624a278e19de0bf3211.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/source/xfce/xfconf/03f7ff961fd46c9141aba624a278e19de0bf3211.patch b/source/xfce/xfconf/03f7ff961fd46c9141aba624a278e19de0bf3211.patch
new file mode 100644
index 000000000..80736d521
--- /dev/null
+++ b/source/xfce/xfconf/03f7ff961fd46c9141aba624a278e19de0bf3211.patch
@@ -0,0 +1,30 @@
+From 03f7ff961fd46c9141aba624a278e19de0bf3211 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
+Date: Wed, 18 Oct 2023 07:50:16 +0200
+Subject: [PATCH] cache: Fix uncached value
+
+Closes: #35
+Fixes: 6561c9fe940d4acb07c5eae63867c46683a02f2c
+Related: !33
+---
+ xfconf/xfconf-cache.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c
+index 61333503..727af956 100644
+--- a/xfconf/xfconf-cache.c
++++ b/xfconf/xfconf-cache.c
+@@ -947,9 +947,7 @@ xfconf_cache_set(XfconfCache *cache,
+ g_hash_table_insert(cache->pending_calls, old_item->cancellable, old_item);
+
+ if(item) {
+- if (item->value != NULL) {
+- xfconf_cache_item_update(item, value);
+- }
++ xfconf_cache_item_update(item, value);
+ } else {
+ item = xfconf_cache_item_new(value, FALSE);
+ g_tree_insert(cache->properties, g_strdup(property), item);
+--
+GitLab
+