Add some api to GSettingsBackend dealing with paths
@rilian-la-te
Submitted by Konstantin Assigned to Allison (desrt)
Link to original bug (#781995)
Description
APIs:
- g_settings_backend_list_child_path(GSettingsBackend* b, const char* path); This api will list all keys from all schemas in this backend for given path;
- g_settings_backend_remove_child_path(GSettingsBackend* b, const char* path, const char* child); This api will remove child path from a given path regardless of schema (for given backend), for example, calling g_settings_backend_remove_child_path(b, "/org/mate/","panel") removes all keys and subdirs from "/org/mate/panel" regardless of schema (if schemas is relocatable, if not, all will be reset to default value).