[glib] Correct the sense of an assertion



commit 137cee425f4b5b29ac47ce433e02f6f2734eca47
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Apr 17 16:48:10 2010 -0400

    Correct the sense of an assertion

 gio/tests/gsettings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c
index 0b2a1d8..45fa2ea 100644
--- a/gio/tests/gsettings.c
+++ b/gio/tests/gsettings.c
@@ -436,7 +436,7 @@ test_delay_revert (void)
 
   g_settings_revert (settings);
 
-  g_assert (g_settings_get_has_unapplied (settings));
+  g_assert (!g_settings_get_has_unapplied (settings));
 
   g_settings_get (settings, "greeting", "s", &str);
   g_assert_cmpstr (str, ==, "top o' the morning");



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