[dconf: 5/7] engine: seal the in_flight queue before sending it
- From: Daniel Playfair Cal <danielplayfaircal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf: 5/7] engine: seal the in_flight queue before sending it
- Date: Sat, 19 Dec 2020 02:27:09 +0000 (UTC)
commit 4f90c7927335712edd875cbea395c01fb48f748b
Author: Daniel Playfair Cal <daniel playfair cal gmail com>
Date: Tue May 5 21:04:30 2020 +1000
engine: seal the in_flight queue before sending it
It would be wrong to change the in_flight queue, so seal it to ensure
that it is consistently sealed.
engine/dconf-engine.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/engine/dconf-engine.c b/engine/dconf-engine.c
index 18b8aa54..cbb2a00e 100644
--- a/engine/dconf-engine.c
+++ b/engine/dconf-engine.c
@@ -1208,6 +1208,7 @@ dconf_engine_manage_queue (DConfEngine *engine)
G_VARIANT_TYPE ("(s)"), sizeof (OutstandingChange));
oc->change = engine->in_flight = g_steal_pointer (&engine->pending);
+ dconf_changeset_seal (engine->in_flight);
parameters = dconf_engine_prepare_change (engine, oc->change);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]