summaryrefslogtreecommitdiff
path: root/service/dconf-writer.c
diff options
context:
space:
mode:
authorDaniel Playfair Cal <daniel.playfair.cal@gmail.com>2019-11-11 12:07:08 +1100
committerDaniel Playfair Cal <daniel.playfair.cal@gmail.com>2019-12-29 20:07:43 +1100
commitf3104f75f945bd3418e5cf59fcc7c5044c071f2b (patch)
treed3eb3350d99e70ee771a09b786db2dc169237b12 /service/dconf-writer.c
parent4b9dc6ff18edcd07efb7d9638fdfae9db68d8341 (diff)
downloaddconf-f3104f75f945bd3418e5cf59fcc7c5044c071f2b.tar.gz
Service: avoid redundant writes even after other non redundant writes have succeeded
Diffstat (limited to 'service/dconf-writer.c')
-rw-r--r--service/dconf-writer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/dconf-writer.c b/service/dconf-writer.c
index 8b59019..4d054c8 100644
--- a/service/dconf-writer.c
+++ b/service/dconf-writer.c
@@ -183,6 +183,8 @@ dconf_writer_real_commit (DConfWriter *writer,
close (invalidate_fd);
}
+ writer->priv->need_write = FALSE;
+
if (writer->priv->commited_values)
dconf_changeset_unref (writer->priv->commited_values);
writer->priv->commited_values = writer->priv->uncommited_values;