Cleanup the GSettingsBackend API

This is a substantial ABI break.  Rebuild dconf.
This commit is contained in:
Ryan Lortie
2010-07-22 18:39:50 -04:00
parent aed440815e
commit d5bd531d96
9 changed files with 125 additions and 74 deletions

View File

@@ -55,6 +55,11 @@ test_basic (void)
g_free (str);
str = NULL;
g_settings_reset (settings, "greeting");
str = g_settings_get_string (settings, "greeting");
g_assert_cmpstr (str, ==, "Hello, earthlings");
g_free (str);
g_settings_set (settings, "greeting", "s", "this is the end");
g_object_unref (settings);
}