diff options
author | Daniel Playfair Cal <daniel.playfair.cal@gmail.com> | 2019-11-11 12:07:08 +1100 |
---|---|---|
committer | Daniel Playfair Cal <daniel.playfair.cal@gmail.com> | 2019-12-29 20:07:43 +1100 |
commit | f3104f75f945bd3418e5cf59fcc7c5044c071f2b (patch) | |
tree | d3eb3350d99e70ee771a09b786db2dc169237b12 /service/dconf-writer.c | |
parent | 4b9dc6ff18edcd07efb7d9638fdfae9db68d8341 (diff) | |
download | dconf-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.c | 2 |
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; |