[glib] gsettings: tweak test for last commit



commit 8976175ba9913219d5469f022ceac03a106b4c54
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Jan 2 01:55:07 2014 -0500

    gsettings: tweak test for last commit
    
    The last commit changed the behaviour of child objects of delayed
    GSettings.  Adjust the testcase accordingly.

 gio/tests/gsettings.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c
index 6af21cd..3cd2303 100644
--- a/gio/tests/gsettings.c
+++ b/gio/tests/gsettings.c
@@ -597,8 +597,9 @@ test_delay_child (void)
 
   g_settings_set (child, "test-byte", "y", 42);
 
+  /* make sure the child was delayed too */
   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 (settings);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]