Document new API

This commit is contained in:
Matthias Clasen
2011-02-08 10:05:00 -05:00
parent 78dcafc5cb
commit a6caaebea7
2 changed files with 26 additions and 0 deletions

View File

@@ -119,6 +119,19 @@ g_null_settings_backend_class_init (GNullSettingsBackendClass *class)
backend_class->get_permission = g_null_settings_backend_get_permission;
}
/**
* g_null_settings_backend_new:
*
*
* Creates a readonly #GSettingsBackend.
*
* This backend does not allow changes to settings, so all settings
* will always have their default values.
*
* Returns: (transfer full): a newly created #GSettingsBackend
*
* Since: 2.28
*/
GSettingsBackend *
g_null_settings_backend_new (void)
{