Commit 7197a4d651143008267a38cfdab096bc28769554
- Diff rendering mode:
- inline
- side by side
gsettings/storage-test.c
(1 / 1)
|   | |||
| 6 | 6 | static void test (GSettingsStorage *storage) { | |
| 7 | 7 | GSettings *settings; | |
| 8 | 8 | ||
| 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); | ||
| 10 | 10 | g_object_unref (storage); | |
| 11 | 11 | ||
| 12 | 12 | g_object_unref (settings); |
gsettings/storage-test.schemas
(3 / 0)
|   | |||
| 1 | schema 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
Please log in to comment

