Allows the creation of a GSettingsSchemaSource from a file path directly, from a GBytes object and form a resource compiled with glib-compile-resources.
Adds 3 new methods:
Why this is important:
- Embedding the schema inside a program improves its portability as you don't have to worry about shipping a separate schema file.
- Cross platform support
- Windows and MacOS do not use XDG_DATA_DIRS and therefore it's not clear where to put schemas. This merge request omits that problem entirely.
- Loading a schema from a resource is faster than loading it from a file.