mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
gsettings: tweak test for last commit
The last commit changed the behaviour of child objects of delayed GSettings. Adjust the testcase accordingly.
This commit is contained in:
@@ -597,8 +597,9 @@ test_delay_child (void)
|
|||||||
|
|
||||||
g_settings_set (child, "test-byte", "y", 42);
|
g_settings_set (child, "test-byte", "y", 42);
|
||||||
|
|
||||||
|
/* make sure the child was delayed too */
|
||||||
g_settings_get (base, "test-byte", "y", &byte);
|
g_settings_get (base, "test-byte", "y", &byte);
|
||||||
g_assert_cmpuint (byte, ==, 42);
|
g_assert_cmpuint (byte, ==, 36);
|
||||||
|
|
||||||
g_object_unref (child);
|
g_object_unref (child);
|
||||||
g_object_unref (settings);
|
g_object_unref (settings);
|
||||||
|
Reference in New Issue
Block a user