Philip Withnall 0101ccba16 gsettings: Clarify that g_settings_get_child() inherits delay-apply
Previously, the delay-apply status of the parent `GSettings` object
would be partially inherited: `settings->priv->backend` in the child
`GSettings` object would point to a `GDelayedSettingsBackend`, but
`settings->priv->delayed` would be `NULL`.

The expectation from https://bugzilla.gnome.org/show_bug.cgi?id=720891
was that `get_child()` would fully inherit delay-apply status.

So, ensure that `settings->priv->delayed` is correctly set to point to
the delayed backend when constructing any `GSettings`. Update the tests
to work again (presumably the inverted test was an oversight in the
original changes).

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #2426
2021-10-26 14:25:51 +01:00
..
2019-01-15 15:11:43 +00:00
2021-01-25 15:00:12 +01:00
2021-05-13 22:16:27 +01:00
2020-11-17 15:50:07 +00:00
2017-05-29 19:53:34 +02:00
2020-11-17 15:50:07 +00:00
2021-08-19 09:41:08 +01:00
2020-11-17 15:50:07 +00:00
2020-11-17 15:50:07 +00:00
2019-01-10 13:50:26 -05:00
2021-06-03 19:04:48 +02:00
2021-08-19 09:41:08 +01:00