Commit 7197a4d651143008267a38cfdab096bc28769554

  • avatar
  • ssam
  • Mon Aug 03 11:17:17 GMT 2009
Add storage-test.
gsettings/storage-test.c
(1 / 1)
  
66static void test (GSettingsStorage *storage) {
77 GSettings *settings;
88
9 settings = g_object_new (G_TYPE_SETTINGS, "backend", storage, "schema-name", "foo", NULL);
9 settings = g_object_new (G_TYPE_SETTINGS, "backend", storage, "schema-name", "test.storage", NULL);
1010 g_object_unref (storage);
1111
1212 g_object_unref (settings);
gsettings/storage-test.schemas
(3 / 0)
  
1schema test.storage:
2 path /test/gsettings/storage/
3 key bool = true

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment