diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Commands.md | 4 | ||||
-rw-r--r-- | docs/markdown/snippets/gnome.md | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index fc8cdd2..aa538b1 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -302,5 +302,9 @@ These variables are set in environment in addition to those set using `meson.add `PATH` on Windows. - `GI_TYPELIB_PATH` includes every directory where a GObject Introspection typelib is built. This is automatically set when using `gnome.generate_gir()`. +- `GSETTINGS_SCHEMA_DIR` *Since 0.59.0* includes every directory where a GSettings + schemas is compiled. This is automatically set when using `gnome.compile_schemas()`. + Note that this requires GLib >= 2.64 when `gnome.compile_schemas()` is used in + more than one directory. {{ devenv_arguments.inc }} diff --git a/docs/markdown/snippets/gnome.md b/docs/markdown/snippets/gnome.md new file mode 100644 index 0000000..1944376 --- /dev/null +++ b/docs/markdown/snippets/gnome.md @@ -0,0 +1,5 @@ +## `gnome.compile_schemas()` sets `GSETTINGS_SCHEMA_DIR` into devenv + +When using `gnome.compile_schemas()` the location of the compiled schema is +added to `GSETTINGS_SCHEMA_DIR` environment variable when using +[`meson devenv`](Commands.md#devenv) command. |